intro-prelude (empty) → 0.1.0.0
raw patch · 4 files changed
+74/−0 lines, 4 filesdep +introdep +intro-preludesetup-changed
Dependencies added: intro, intro-prelude
Files
- LICENSE +21/−0
- Setup.hs +2/−0
- intro-prelude.cabal +39/−0
- test.hs +12/−0
+ LICENSE view
@@ -0,0 +1,21 @@+The MIT License (MIT)++Copyright (c) 2016 Daniel Mendler++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.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ intro-prelude.cabal view
@@ -0,0 +1,39 @@+-- This file has been generated from package.yaml by hpack version 0.15.0.+--+-- see: https://github.com/sol/hpack++name: intro-prelude+version: 0.1.0.0+synopsis: Intro reexported as Prelude+description: Intro reexported as Prelude. Replace base with base-noprelude and intro-prelude in your build-depends.+category: Prelude+stability: experimental+homepage: https://github.com/minad/intro-prelude#readme+bug-reports: https://github.com/minad/intro-prelude/issues+author: Daniel Mendler <mail@daniel-mendler.de>+maintainer: Daniel Mendler <mail@daniel-mendler.de>+copyright: 2016 Daniel Mendler+license: MIT+license-file: LICENSE+tested-with: GHC == 7.10.3, GHC == 8.0.1+build-type: Simple+cabal-version: >= 1.21++source-repository head+ type: git+ location: https://github.com/minad/intro-prelude++library+ build-depends:+ intro+ reexported-modules:+ Intro as Prelude+ default-language: Haskell2010++test-suite test+ type: exitcode-stdio-1.0+ main-is: test.hs+ build-depends:+ intro+ , intro-prelude+ default-language: Haskell2010
+ test.hs view
@@ -0,0 +1,12 @@+module Main where++mapAvailable :: Functor f => (a -> b) -> f a -> f b+mapAvailable = map++panicAvailable :: String -> a+panicAvailable = panic++type StateAvailable a = State a++main :: IO ()+main = skip