   :group 'haskell)
 
 (defcustom intero-package-version
-  "0.1.21"
+  "0.1.22"
   "Package version to auto-install.
 
 This version does not necessarily have to be the latest version

           (staging-file (intero-localize-path (intero-staging-file-name)))
           (temp-file (intero-localize-path (intero-temp-file-name)))
           (hash (intero-check-calculate-hash)))
      ;; We queue up to mv the staging file to the target temp
      ;; file and touch it to update its modified time.
      (intero-async-call
       'backend
       (format ":!mv \"%s\" \"%s\"; touch \"%s\""
               staging-file
               temp-file
               temp-file))
      ;; We load up the target temp file, which has only been updated
      ;; by the copy above.

      ;; changed, if the timestamp is less than 1 second.
      (intero-async-call
       'backend
       ":sleep 1"))))

(flycheck-define-generic-checker 'intero
  "A syntax and type checker for Haskell using an Intero worker
