Freckle


Freckle

FSharp Namespace

ModuleDescription
Helpers

A helper module used for the library, use at your own discrestion

Freckle Namespace

TypeDescription
Expire

Automatically delete events from a mailbox by setting an expiration

Feed<'e>

The Feed represents an continoues (possibly extremely large) number of events, for this reason the type is Lazy. The Feed type is identical to the Event type in traditional FRP. However it has been renamed in order to be more intuitive, as it should not be thought of as a single event but rather a continoues stream of events.

Mailbox<'e>

The mailbox is the concept of messages passed from external parts of the system A mailbox should preferably should only have one consumer and one or more producers

Period

A period is two times, a beginning time and a finish time. Beginning time will always be considered as non-inclusive and finish will always be considered as inclusive

Sample<'a>

Sample is a function from Period to some value. you can think of Sample as (Time -> Behavior)

Ticks

Time is meassured in ticks a which is a dotNet concept 1 tick = 10μs

Time

Time is the meassurement used for all FRP reasoning

ModuleDescription
Async

Adds more advanced delays

Clock

Clock is used to generate the current time

ComputationExpression

Wrapper for all computational expressions for each type. In haskell lingo this is what provides do notation

Debug

Debugging functionality for Feed

Feed

The feed module contains all functions necessary to work with feeds.

Mailbox

The Mailbox module contains all functions to work with external events, such as post, read and suc.

Sample

Based on Behavior, Sample generates values from a span of time rather than a single time

SampleAsync

SampleAsync module is designed to help working with samples that specifically returns Async

Fork me on GitHub