This file contains the planned features and vision for the future versions of Folktale. Note that here we only provide an overview of the features. Once they're fleshed out they'll be created as issues in the GitHub issue tracker, which helps tracking progress on them.
With this Folktale should be a solid, cross-platform base library for JS/TS applications.
Move to TypeScript.
Missing algebras for existing structures. These algebras are described in the FAQ. Some of them still require thinking about which behaviour to implement.
Use less broad categories for the subpackages.
Core: (Maybe, Result, Validation, Lambda, Object, FantasyLand, ADT)
Concurrency: (Task, Future, Channel, Stream)
A numeric tower with promotion, like in Scheme (
Integral, for arbitrary-precision integers.
Decimal, for arbitrary-precision decimals.
Rational, for fractions.
Common collection structures (
Range, a lazy container of numbers.
List, singly-linked list.
Vector, dynamic-growing persistent vectors.
Set, persistent sets.
Map, persistent maps.
More concurrent structures (
Channel, CSP channels, based on Clojure's.
Stream, discrete asynchronous streams, based on the Observable specification.
Higher-order contracts (
Validation). This was previously core.check, though that only had experimental support for first-order contracts.
Operations for using monadic structures for control-flow (
Bring safety to OS/file system services.
A wrapper over Node's file system API. Move IO to CSP channels and other things to Task.
A wrapper over Node's child_process API. Move IO to CSP channels.
Bring safety to web servers/applications.
A safe alternative to express (take inspiration from Yesod)
GLL parser combinators
ER models with automatic migration Needs to figure out how non-relational/etc databases would fit here.