diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2015-04-24 18:59:33 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2015-04-24 18:59:33 -0400 |
commit | 26fe1ec59740112c590428bafc49b255249a01cd (patch) | |
tree | dca40f33d81f7be92f3bbfdd65577ba0216541b6 | |
parent | e9fbc822bd34a5f9c698f1bc018fb95db8f7123a (diff) |
Add basic list support
-rw-r--r-- | B.agda | 1 | ||||
-rw-r--r-- | Prelude/List.agda | 20 |
2 files changed, 21 insertions, 0 deletions
@@ -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 |