rapid: Rapid prototyping with GHCi: hot reloading of running components and reload-surviving values

[ bsd3, development, library ] [ Propose Tags ]

This package provides a rapid prototyping suite for GHCi that can be used standalone or integrated into editors. You can hot-reload individual running components as you make changes to their code. It is designed to shorten the development cycle during the development of long-running programs like servers, web applications and interactive user interfaces.

It can also be used in the context of batch-style programs: Keep resources that are expensive to create in memory and reuse them across module reloads instead of reloading/recomputing them after every code change.

Technically this package is a safe and convenient wrapper around foreign-store.

[Skip to Readme]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5,,,
Change log CHANGELOG.md
Dependencies async (>=2.1 && <2.3), base (>=4.8 && <4.17), containers (>=0.5 && <0.7), foreign-store (>=0.2 && <0.3), stm (>=2.4 && <2.6) [details]
License BSD-3-Clause
Copyright Copyright 2018 Ertugrul Söylemez
Author Ertugrul Söylemez <esz@posteo.de>
Maintainer Ertugrul Söylemez <esz@posteo.de>
Revised Revision 2 made by AndreasAbel at 2022-04-19T12:39:18Z
Category Development
Home page https://github.com/esoeylemez/rapid
Bug tracker https://github.com/esoeylemez/rapid/issues
Source repo head: git clone https://github.com/esoeylemez/rapid.git
Uploaded by esz at 2018-02-11T18:06:17Z
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 3385 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for rapid-0.1.4

[back to package description]


This is a helper library for rapid prototyping in GHCi sessions. It provides hot-reloadable background threads as well as values that can be reused across module reloads (to save initialisation time). Main use cases include the development of long-running applications, especially those with multiple separable units: servers, web applications, interactive user interfaces, etc.

A tutorial-style introduction is contained within the Rapid module.