Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Wasn't O'Caml a functional language?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pixel <pixel@m...>
Subject: Re: [Caml-list] Re: Wasn't O'Caml a functional language?
"Michaël Grünewald" <michael-grunewald@wanadoo.fr> writes:

> Alessandro Baretta <alex@baretta.com> writes:
> 
> [...]
> 
> > Anyway, my main claim, although misdirected, in not entirely
> > faulty. Queue.transfer can be thought of as analogous to
> > List.append. When I write let list = list1 @ list2 I do not expect
> > side-effects on list1 or list2.
> 
> Then you maybe should use Lists, why, if queues have the same behavior than
> lists, give them a different name ?

because using (simply linked) lists as FIFOs is costly?
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners