Skip to content
Haskell Shell
Branch: master
Clone or download
Latest commit 76d8925 Sep 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
boots-app
boots-cloud
boots-web
boots
demo
script
.ghci
.ghcid
.gitignore
.stylish-haskell.yaml
.travis.yml
LICENSE
README.md refactor code - split into boots and boots-app Aug 5, 2019
cabal.88.project
cabal.project
common.yaml
stack.yaml

README.md

boots

Hackage Build stackage LTS package stackage Nightly package MIT license Hackage-Deps

IoC Monad in Haskell.

Packages based on boots

  • Hackage Factory for quickly building an application.
  • Hackage Factory for quickly building a web application.
  • Hackage Factory for quickly building a microservice.

Motivation

Simplify to create an application in Haskell.

When we decide to create an application using Haskell. We may need using configurations, loggers as basic functions. If this application needs storages, caches, etc., then we have to weaving the management of connection of these facilities into the application. Connections need to be created before and be destroyed after using them. There is a common strategy to manage connections, that is using Control.Monad.Cont. Then we can encapsulate the management of connections separately. For example, we can write a database factory Factory m cxt DBConnection, which can manage the database connections in monad m with context cxt. Context cxt may be requested for configurations or logging functions. When all the components of application are encapsulated by plugins, then building an application will be simplified.

A Project Use boots to Build

Refer to 鬼谷子

You can’t perform that action at this time.