~ubuntu-branches/ubuntu/trusty/agda/trusty

« back to all changes in this revision

Viewing changes to src/full/Agda/Compiler/Epic/Primitive.hs

  • Committer: Package Import Robot
  • Author(s): Iain Lane, Kiwamu Okabe, Iain Lane
  • Date: 2013-04-10 11:46:43 UTC
  • mfrom: (4.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20130410114643-prunhsz59f0fhrdn
Tags: 2.3.2-1
[ Kiwamu Okabe ]
* New patch: Extend haskell-src-exts dependency and fix type miss.

[ Iain Lane ]
* [dfbca48] Imported Upstream version 2.3.2
* [7746bcc] Remove all patches — all upstream.
* [2cdb691] Update build-deps to match control file
* [868ebf4] agda-mode no longer depends on haskell-mode or GHCi.
  Remove dependency and update .el file accordingly
* [9e0ba22] Add agda-bin package here, as the separate package has been
  removed
* [75a240f] agda-mode needs to depend on agda-bin
* [d290f95] Allow Quickcheck up to 2.7. Fix haskeline build-dep.
* [79190e6] Add missing geniplate and parallel BDs

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
import qualified Agda.Syntax.Internal as T
16
16
import Agda.TypeChecking.Monad hiding (defName)
17
17
import Agda.TypeChecking.Monad.Builtin
 
18
import Agda.Utils.Monad (andM)
18
19
 
19
20
import Agda.Compiler.Epic.AuxAST
20
21
import Agda.Compiler.Epic.CompileState
92
93
        if all isJust builtins
93
94
           then do
94
95
                let names = map (defName . fromMaybe __IMPOSSIBLE__) builtins
95
 
                b <- and <$>  mapM constrInScope names
 
96
                b <- andM $ map constrInScope names
96
97
                if b then return $ Just (transf names) else return Nothing
97
98
           else return Nothing
98
99