Package

purescript-preface

Repository
paf31/purescript-preface
License
MIT
Uploaded by
paf31

A simpler alternative to the Prelude.

Getting Started

Clone this repository. Then, using Pulp:

pulp build
pulp test

Design

The Preface is intended to be a simpler introduction to the concepts of PureScript for beginners, specifically those coming from Javascript. With that in mind, here are some design goals:

  • Use simple types - no type classes, effect rows, etc.
  • Provide excellent documentation with examples.
  • Name functions using simple names which explain their purpose.

The Preface is meant to be a teaching tool, such that users should plan to graduate to the regular set of PureScript core libraries once they are familiar with the ideas. However, the Preface may be a practical alternative for some very simple tasks.

Modules
Array
Boolean
Either
Function
Maybe
Number
Preface
String
Task
Unit
Dependencies
No dependencies