Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 425 Bytes

File metadata and controls

13 lines (8 loc) · 425 Bytes

Interpreter example

This example illustrates using a free monad as the component's g value and then later interpreting that into an Aff value before running the component.

Building

From the root of the Halogen project:

$ npm run example-interpret

The code will be built as example.js in the examples/interpret/dist directory within the example, runnable by opening the corresponding index.html.