module folktale/adt/union/derivations

Pre-built derivations for Folktale unions.

This feature is experimental!

This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.

Documentation

Pre-built derivations for Folktale unions.

Properties

Derivations

debugRepresentation(variant, adt)

Provides a textual representation for unions.

Experimental
equality: createDerivation(valuesEqual)

Provides structural equality for unions.

Experimental
serialization(variant, adt)

Provides JSON serialisation and parsing for unions.

Experimental

Source Code

Defined in source/adt/union/derivations/index.js at line 14, column 0
{
  serialization: require('./serialization'),
  equality: require('./equality'),
  debugRepresentation: require('./debug-representation')
}
Stability
experimental
Licence
MIT
Module
folktale/adt/union/derivations
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)