Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Okasaki's $-Notation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-13 (14:14)
From: Brian Hurt <bhurt@s...>
Subject: Re: [Caml-list] Okasaki's $-Notation

On Tue, 13 Sep 2005, Arne Koewing wrote:

> Hi everyone,
> has somebody already tried to implement
> Okasaki's $-Notation for lazy values in ML
> in camlp4 ?
> I'm stuck, implementing his pattern matching extension,
> (I'm completely new to camlp4...)

A) No I haven't, so judge the following comments with this in mind

B) One of the reasons I don't like Okasaki's $ notation is that it 
represents both suspending the computation and forcing the computation.  I 
often times have trouble figuring out which meaning is meant with any 
given use.  Which I'm wondering might not be your problem- if I have a 
hard time figuring it out, how hard is it going to be for the computer to 
figure it out?