aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@mit.edu>2015-04-24 18:59:33 -0400
committerBenjamin Barenblat <bbaren@mit.edu>2015-04-24 18:59:33 -0400
commit26fe1ec59740112c590428bafc49b255249a01cd (patch)
treedca40f33d81f7be92f3bbfdd65577ba0216541b6
parente9fbc822bd34a5f9c698f1bc018fb95db8f7123a (diff)
Add basic list support
-rw-r--r--B.agda1
-rw-r--r--Prelude/List.agda20
2 files changed, 21 insertions, 0 deletions
diff --git a/B.agda b/B.agda
index b4d7336..5c73dd4 100644
--- a/B.agda
+++ b/B.agda
@@ -16,6 +16,7 @@ module B where
open import B.Prelude.Bool public
open import B.Prelude.BooleanAlgebra public
open import B.Prelude.Char public
+open import B.Prelude.List public
open import B.Prelude.Maybe public
open import B.Prelude.Product public
open import B.Prelude.String public
diff --git a/Prelude/List.agda b/Prelude/List.agda
new file mode 100644
index 0000000..cd2fa08
--- /dev/null
+++ b/Prelude/List.agda
@@ -0,0 +1,20 @@
+{- Copyright © 2015 Benjamin Barenblat
+
+Licensed under the Apache License, Version 2.0 (the ‘License’); you may not use
+this file except in compliance with the License. You may obtain a copy of the
+License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the License is distributed on an ‘AS IS’ BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License. -}
+
+module B.Prelude.List where
+
+import Data.List
+
+open Data.List
+ using ([]; _∷_; List)
+ public