Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Derive.C.Prelude.Equal

Description

Export c_equal call, which implements =.

The equal call is heavily overloaded because I want to reuse the nice infix syntax. Unfortunately it results in lots of cryptic prefixes. Is it worth it?

Synopsis

Documentation

transform_expr :: Text -> Deriver a -> Deriver a Source #

Parse an expression containing only equal calls and turn it into a transformer. Eval.eval_transform_expr is more general, but only transforms Streams, because most transforms work with a stream. So by having a more restrictive input, this can have a more general output: contravariance I guess?