├── .gitignore ├── 01-Getting-Started ├── 01-Overview-of-Haskell.md ├── 02-Installing-Haskell.md └── 03-Haskell-REPL.md ├── 02-Syntax ├── 01-Primitive-DataTypes.md ├── 02-Type-Classes.md ├── 03-Functions-etc.md ├── 05-Record-Syntax.md ├── 06-Control-Flow.md ├── 07-Lazy-by-Default.md ├── 08-Modules.md ├── 09-Documentation.md ├── 10-Special-Compiler-Features.md ├── 11-Haskell-Only.md └── ReadMe.md ├── 03-Gotchas.md ├── 04-Build-Tools └── package-template.yml ├── 05-Yesod-and-Servant.md ├── 20-yesod ├── README.md ├── app │ ├── DevelMain.hs │ ├── devel.hs │ └── main.hs ├── config │ ├── favicon.ico │ ├── keter.yml │ ├── models │ ├── robots.txt │ ├── routes │ ├── settings.yml │ └── test-settings.yml ├── package.yaml ├── src │ ├── Application.hs │ ├── Foundation.hs │ ├── Handler │ │ ├── Common.hs │ │ └── Routes.hs │ ├── Import.hs │ ├── Import │ │ └── NoFoundation.hs │ ├── Model.hs │ ├── Model │ │ └── DataType.hs │ ├── Settings.hs │ └── Settings │ │ └── StaticFiles.hs ├── stack.yaml ├── stack.yaml.lock ├── static │ └── placeholder.txt ├── templates │ └── placeholder.txt └── test │ ├── Handler │ └── CommonSpec.hs │ ├── Spec.hs │ └── TestImport.hs ├── 21-servant ├── README.md ├── Setup.hs ├── app │ └── Main.hs ├── package.yaml ├── src │ ├── MinimalExample.hs │ └── ServantSyntax.hs ├── stack.yaml ├── stack.yaml.lock └── test │ └── Spec.hs ├── 91-Language-Extensions.md ├── Readme.md ├── assets ├── Haskell-Numeric-Type-Class-Hierarchy.graphml └── Haskell-Numeric-Type-Class-Hierarchy.svg └── table-of-contents.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/.gitignore -------------------------------------------------------------------------------- /01-Getting-Started/01-Overview-of-Haskell.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/01-Getting-Started/01-Overview-of-Haskell.md -------------------------------------------------------------------------------- /01-Getting-Started/02-Installing-Haskell.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/01-Getting-Started/02-Installing-Haskell.md -------------------------------------------------------------------------------- /01-Getting-Started/03-Haskell-REPL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/01-Getting-Started/03-Haskell-REPL.md -------------------------------------------------------------------------------- /02-Syntax/01-Primitive-DataTypes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/01-Primitive-DataTypes.md -------------------------------------------------------------------------------- /02-Syntax/02-Type-Classes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/02-Type-Classes.md -------------------------------------------------------------------------------- /02-Syntax/03-Functions-etc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/03-Functions-etc.md -------------------------------------------------------------------------------- /02-Syntax/05-Record-Syntax.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/05-Record-Syntax.md -------------------------------------------------------------------------------- /02-Syntax/06-Control-Flow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/06-Control-Flow.md -------------------------------------------------------------------------------- /02-Syntax/07-Lazy-by-Default.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/07-Lazy-by-Default.md -------------------------------------------------------------------------------- /02-Syntax/08-Modules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/08-Modules.md -------------------------------------------------------------------------------- /02-Syntax/09-Documentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/09-Documentation.md -------------------------------------------------------------------------------- /02-Syntax/10-Special-Compiler-Features.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/10-Special-Compiler-Features.md -------------------------------------------------------------------------------- /02-Syntax/11-Haskell-Only.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/11-Haskell-Only.md -------------------------------------------------------------------------------- /02-Syntax/ReadMe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/02-Syntax/ReadMe.md -------------------------------------------------------------------------------- /03-Gotchas.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/03-Gotchas.md -------------------------------------------------------------------------------- /04-Build-Tools/package-template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/04-Build-Tools/package-template.yml -------------------------------------------------------------------------------- /05-Yesod-and-Servant.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/05-Yesod-and-Servant.md -------------------------------------------------------------------------------- /20-yesod/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/README.md -------------------------------------------------------------------------------- /20-yesod/app/DevelMain.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/app/DevelMain.hs -------------------------------------------------------------------------------- /20-yesod/app/devel.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/app/devel.hs -------------------------------------------------------------------------------- /20-yesod/app/main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/app/main.hs -------------------------------------------------------------------------------- /20-yesod/config/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/config/favicon.ico -------------------------------------------------------------------------------- /20-yesod/config/keter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/config/keter.yml -------------------------------------------------------------------------------- /20-yesod/config/models: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/config/models -------------------------------------------------------------------------------- /20-yesod/config/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | -------------------------------------------------------------------------------- /20-yesod/config/routes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/config/routes -------------------------------------------------------------------------------- /20-yesod/config/settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/config/settings.yml -------------------------------------------------------------------------------- /20-yesod/config/test-settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/config/test-settings.yml -------------------------------------------------------------------------------- /20-yesod/package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/package.yaml -------------------------------------------------------------------------------- /20-yesod/src/Application.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Application.hs -------------------------------------------------------------------------------- /20-yesod/src/Foundation.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Foundation.hs -------------------------------------------------------------------------------- /20-yesod/src/Handler/Common.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Handler/Common.hs -------------------------------------------------------------------------------- /20-yesod/src/Handler/Routes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Handler/Routes.hs -------------------------------------------------------------------------------- /20-yesod/src/Import.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Import.hs -------------------------------------------------------------------------------- /20-yesod/src/Import/NoFoundation.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Import/NoFoundation.hs -------------------------------------------------------------------------------- /20-yesod/src/Model.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Model.hs -------------------------------------------------------------------------------- /20-yesod/src/Model/DataType.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Model/DataType.hs -------------------------------------------------------------------------------- /20-yesod/src/Settings.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Settings.hs -------------------------------------------------------------------------------- /20-yesod/src/Settings/StaticFiles.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/src/Settings/StaticFiles.hs -------------------------------------------------------------------------------- /20-yesod/stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/stack.yaml -------------------------------------------------------------------------------- /20-yesod/stack.yaml.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/stack.yaml.lock -------------------------------------------------------------------------------- /20-yesod/static/placeholder.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /20-yesod/templates/placeholder.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /20-yesod/test/Handler/CommonSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/test/Handler/CommonSpec.hs -------------------------------------------------------------------------------- /20-yesod/test/Spec.hs: -------------------------------------------------------------------------------- 1 | {-# OPTIONS_GHC -F -pgmF hspec-discover #-} 2 | -------------------------------------------------------------------------------- /20-yesod/test/TestImport.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/20-yesod/test/TestImport.hs -------------------------------------------------------------------------------- /21-servant/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/21-servant/README.md -------------------------------------------------------------------------------- /21-servant/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /21-servant/app/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/21-servant/app/Main.hs -------------------------------------------------------------------------------- /21-servant/package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/21-servant/package.yaml -------------------------------------------------------------------------------- /21-servant/src/MinimalExample.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/21-servant/src/MinimalExample.hs -------------------------------------------------------------------------------- /21-servant/src/ServantSyntax.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/21-servant/src/ServantSyntax.hs -------------------------------------------------------------------------------- /21-servant/stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/21-servant/stack.yaml -------------------------------------------------------------------------------- /21-servant/stack.yaml.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/21-servant/stack.yaml.lock -------------------------------------------------------------------------------- /21-servant/test/Spec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/21-servant/test/Spec.hs -------------------------------------------------------------------------------- /91-Language-Extensions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/91-Language-Extensions.md -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/Readme.md -------------------------------------------------------------------------------- /assets/Haskell-Numeric-Type-Class-Hierarchy.graphml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/assets/Haskell-Numeric-Type-Class-Hierarchy.graphml -------------------------------------------------------------------------------- /assets/Haskell-Numeric-Type-Class-Hierarchy.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/assets/Haskell-Numeric-Type-Class-Hierarchy.svg -------------------------------------------------------------------------------- /table-of-contents.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JordanMartinez/purescript-to-haskell/HEAD/table-of-contents.md --------------------------------------------------------------------------------