From 1f1bfc0428eeee691dc8ff4baa68510098e67dbc Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Fri, 31 Mar 2023 13:22:03 -0400 Subject: [PATCH] Initial commit --- .gitignore | 5 +++++ LICENSE | 21 +++++++++++++++++++++ README.md | 5 +++++ lens.ipkg | 14 ++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 lens.ipkg diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..26223c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.ibc +*.o + +build/ +*.*~ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a5d8715 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Kiana Sheibani + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..56ccf38 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Profunctor Optics in Idris2 + +This package provides utilities for working with profunctor optics. +Its design is based on the Haskell libraries [fresnel](https://hackage.haskell.org/package/fresnel) +and [lens](https://hackage.haskell.org/package/lens). diff --git a/lens.ipkg b/lens.ipkg new file mode 100644 index 0000000..d1affcc --- /dev/null +++ b/lens.ipkg @@ -0,0 +1,14 @@ +package lens +version = 0.0.0 + +brief = "Batteries-included profunctor optics for Idris2" + +authors = "Kiana Sheibani" +license = "MIT" + +sourcedir = "src" +readme = "README.md" + +langversion >= 0.6.0 + +modules =