based (empty) → 0.1
raw patch · 4 files changed
+77/−0 lines, 4 filesdep +base
Dependencies added: base
Files
- CHANGELOG.md +5/−0
- LICENSE +20/−0
- based.cabal +39/−0
- src/Based.hs +13/−0
+ CHANGELOG.md view
@@ -0,0 +1,5 @@+# Revision history for based++## 0.1 -- 2022-06-20++* First version. Released on an unsuspecting world.
+ LICENSE view
@@ -0,0 +1,20 @@+Copyright (c) 2022 chessai++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.
+ based.cabal view
@@ -0,0 +1,39 @@+cabal-version: 3.0+name:+ based+version:+ 0.1+synopsis:+ alternative prelude+-- description:+homepage:+ https://github.com/chessai/based+bug-reports:+ https://github.com/chessai/based#issues+license:+ MIT+license-file:+ LICENSE+author:+ chessai+maintainer:+ chessai1996@gmail.com+-- A copyright notice.+copyright:+ Copyrigt © chessai 2022+category:+ Prelude+extra-source-files:+ CHANGELOG.md++library+ exposed-modules:+ Based+ -- other-modules:+ -- other-extensions:+ build-depends:+ , base >= 4.11 && < 4.17+ hs-source-dirs:+ src+ default-language:+ Haskell2010
+ src/Based.hs view
@@ -0,0 +1,13 @@+{-# language+ MagicHash+ , PackageImports+#-}++module Based+ (+ ) where++import "base" GHC.Exts (TYPE, unsafeCoerce#)++coerce :: TYPE r1 -> TYPE r2+coerce = unsafeCoerce#