Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
Change header type in README in an attempt to make hyperlinkage work
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Sackman committed May 10, 2011
1 parent 4b7e443 commit 2cb3cb8
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
Erlando
=======
# Erlando



Introduction
------------
## Introduction

Erlando is a set of syntax extensions for Erlang. Currently it
consists of two syntax extensions, both of which take the form of
Expand All @@ -15,16 +13,15 @@ consists of two syntax extensions, both of which take the form of
[Scheme form of cuts](http:https://srfi.schemers.org/srfi-26/srfi-26.html). Cuts
can be thought of as a light-weight form of abstraction, with
similarities to partial application (or currying).

* [**Do**](#do): This adds support for do-syntax and monads to
Erlang. These are heavily inspired by [Haskell](http:https://haskell.org),
and the monads and libraries are near-mechanical translations from
the Haskell GHC libraries.



Use
---
## Use

To use any of these parse transformers, you must add the necessary
`-compile` attributes to your Erlang source files. For example:
Expand All @@ -49,8 +46,7 @@ the order of the parse transforms: I've found that the



Cut {#cut}
----------
## Cut {#cut}

### Motivation

Expand All @@ -64,7 +60,7 @@ like:
{ok, R} -> Fun(R);
{error, _} = Err -> Err
end.

my_fun(A, B, C) ->
with_resource(A, fun (Resource) ->
my_resource_modification(Resource, B, C)
Expand Down Expand Up @@ -227,8 +223,7 @@ effect, as they're already fully evaluated by that point.



Do {#do}
--------
## Do {#do}

The Do parse transformer permits Haskell-style *do-notation* in
Erlang, which makes using monads, and monad transformers possible and
Expand Down Expand Up @@ -311,8 +306,7 @@ value?



License
-------
## License

(The MPL)

Expand All @@ -325,4 +319,3 @@ The Original Code is Erlando.

The Initial Developer of the Original Code is VMware, Inc.
Copyright (c) 2011-2011 VMware, Inc. All rights reserved.

0 comments on commit 2cb3cb8

Please sign in to comment.