From 0cbb2233d6e904722a2d0fd07ce0dcc3d83c8d27 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Sat, 4 Mar 2023 22:15:21 -0500 Subject: [PATCH] Initial commit --- .gitignore | 5 +++++ LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++++ profunctors.ipkg | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 profunctors.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..e0cd271 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Profunctors in Idris2 + +This library is primarily a port of Haskell's +[profunctors](https://hackage.haskell.org/package/profunctors) library. diff --git a/profunctors.ipkg b/profunctors.ipkg new file mode 100644 index 0000000..3cbe5bf --- /dev/null +++ b/profunctors.ipkg @@ -0,0 +1,10 @@ +package profunctors +version = 0.0.0 + +authors = "Kiana Sheibani" +license = "MIT" + +readme = "README.md" + +modules = Data.Tensor, + Data.Profunctor