Skip to content

Commit 153b426

Browse files
committed
remove stdlib dependency
1 parent c3d74c7 commit 153b426

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

agda2lambox.agda-lib

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
name: agda2lambox
2-
depend: standard-library
32
include: test
43
flags: --no-projection-like

src/Agda2Lambox/Compile/Utils.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module Agda2Lambox.Compile.Utils
1515
import Control.Monad.State
1616
import Control.Monad.IO.Class ( liftIO )
1717
import Data.Char
18-
import Data.List ( elemIndex )
18+
import Data.List ( elemIndex, foldl' )
1919
import Data.Maybe ( fromMaybe, listToMaybe, isJust )
2020

2121
import Agda.Compiler.Backend

src/Main.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{-# LANGUAGE DeriveGeneric, DeriveAnyClass, NamedFieldPuns, OverloadedStrings #-}
2-
{-# LANGUAGE GADTs, BangPatterns #-}
1+
{-# LANGUAGE DeriveGeneric, DeriveAnyClass, OverloadedStrings #-}
2+
{-# LANGUAGE GADTs #-}
33
-- | The agda2lambox Agda backend
44
module Main (main) where
55

@@ -92,11 +92,11 @@ agda2lambox = Backend backend
9292
, commandLineFlags =
9393
[ Option ['o'] ["out-dir"] (ReqArg outdirOpt "DIR")
9494
"Write output files to DIR. (default: project root)"
95-
, Option ['t'] ["typed"] (NoArg typedOpt)
95+
, Option ['t'] ["typed"] (NoArg typedOpt)
9696
"Compile to typed λ□ environments."
97-
, Option ['c'] ["rocq"] (NoArg rocqOpt)
97+
, Option ['c'] ["rocq"] (NoArg rocqOpt)
9898
"Output a Rocq file."
99-
, Option [] ["no-blocks"] (NoArg noBlocksOpt)
99+
, Option [] ["no-blocks"] (NoArg noBlocksOpt)
100100
"Disable constructors as blocks."
101101
]
102102
, isEnabled = \ _ -> True

0 commit comments

Comments
 (0)