From 26fe1ec59740112c590428bafc49b255249a01cd Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Fri, 24 Apr 2015 18:59:33 -0400 Subject: Add basic list support --- B.agda | 1 + Prelude/List.agda | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Prelude/List.agda 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 -- cgit v1.2.3