msh (empty) → 0.1.0.0
raw patch · 5 files changed
+129/−0 lines, 5 filesdep +basedep +containersdep +haskell-src-extssetup-changed
Dependencies added: base, containers, haskell-src-exts, haskell-src-meta, lens, mtl, parsec, template-haskell, text
Files
- LICENSE +22/−0
- Main.hs +21/−0
- Setup.hs +2/−0
- msh.cabal +84/−0
- readme.txt +0/−0
+ LICENSE view
@@ -0,0 +1,22 @@+The MIT License (MIT)++Copyright (c) 2015 Michael Gale++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.+
+ Main.hs view
@@ -0,0 +1,21 @@+{-# LANGUAGE TemplateHaskell #-}+{-# LANGUAGE QuasiQuotes #-}+{-# LANGUAGE ExistentialQuantification #-}+{-# LANGUAGE MultiParamTypeClasses #-}+{-# LANGUAGE FunctionalDependencies #-}+{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE FlexibleInstances #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE LambdaCase #-}++module Main where++import Language.MSH+++{-instance New (SList a) where+ type Args (SList a) = ()+ new = const _mkSList-}++
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ msh.cabal view
@@ -0,0 +1,84 @@+-- Initial msh.cabal generated by cabal init. For further documentation, +-- see http://haskell.org/cabal/users-guide/++-- The name of the package.+name: msh++-- The package version. See the Haskell package versioning policy (PVP) +-- for standards guiding when and how versions should be incremented.+-- http://www.haskell.org/haskellwiki/Package_versioning_policy+-- PVP summary: +-+------- breaking API changes+-- | | +----- non-breaking API additions+-- | | | +--- code changes with no API change+version: 0.1.0.0++-- A short (one-line) description of the package.+synopsis: Template Haskell implementation of Programming with Monadic State Hierarchies ++-- A longer description of the package.+description: Library for object-oriented programming in Haskell ++-- URL for the project homepage or repository.+homepage: http://www.cl.cam.ac.uk/~mbg28/++-- The license under which the package is released.+license: MIT++-- The file containing the license text.+license-file: LICENSE++-- The package author(s).+author: Michael B. Gale++-- An email address to which users can send suggestions, bug reports, and +-- patches.+maintainer: michael.gale@cl.cam.ac.uk++-- A copyright notice.+-- copyright: ++category: Language++build-type: Simple++-- Extra files to be distributed with the package, such as examples or a +-- README.+extra-source-files: readme.txt++-- Constraint on the version of Cabal needed to build this package.+cabal-version: >=1.10++source-repository head+ type: git+ location: https://github.com/mbg/monadic-state-hierarchies++library+ -- Modules exported by the library.+ exposed-modules: Main+ + -- Modules included in this library but not exported.+ -- other-modules: + + -- LANGUAGE extensions used by modules in this package.+ other-extensions: TemplateHaskell, QuasiQuotes+ + -- Other library packages from which modules are imported.+ build-depends: + base >=4.7 && <5.0, + template-haskell >=2.9, + haskell-src-exts >= 1.16,+ haskell-src-meta >= 0.6,+ parsec >=3.1.9,+ lens >=4.10,+ mtl >= 2.1,+ containers,+ text+ + -- Directories containing source files.+ hs-source-dirs: + + -- Base language which the package is written in.+ default-language: Haskell2010++ --ghc-options: -ddump-splices+
+ readme.txt view