Re: [Haskell-cafe] Arrows for invertible programming: Notation, question

2005-12-29 Thread Alexey Rodriguez Yakushev
On Dec 23, 2005, at 11:53, Arjen wrote: On Fri, 23 Dec 2005, Joel Reymont wrote: Folks, I have been looking at the code for the Arrows for invertible programming paper (http://www.cs.ru.nl/A.vanWeelden/bi-arrows/) and I have a question about syntax. ghci surely does not like it. I've

[Haskell-cafe] Arrows for invertible programming: Notation question

2005-12-23 Thread Joel Reymont
Folks, I have been looking at the code for the Arrows for invertible programming paper (http://www.cs.ru.nl/A.vanWeelden/bi-arrows/) and I have a question about syntax. ghci surely does not like it. What does this mean and how do I make it compile? mapl{|a, b|arr|} :: (mapl{|a, b|arr|},

Re: [Haskell-cafe] Arrows for invertible programming: Notation question

2005-12-23 Thread Ralf Hinze
What does this mean and how do I make it compile? mapl{|a, b|arr|} :: (mapl{|a, b|arr|}, ArrowChoice arr, BiArrow arr) = arr a b It's Generic Haskell source code, see http://www.generic-haskell.org/ Generic Haskell is an extension of Haskell that supports generic programming.

Re: [Haskell-cafe] Arrows for invertible programming: Notation question

2005-12-23 Thread Joel Reymont
Is this something that can be compiled with GHC right now? I noticed - fgenerics but I think it does something else entirely. On Dec 23, 2005, at 8:52 AM, Ralf Hinze wrote: It's Generic Haskell source code, see http://www.generic-haskell.org/ Generic Haskell is an extension of

Re: [Haskell-cafe] Arrows for invertible programming: Notation question

2005-12-23 Thread Ralf Hinze
Is this something that can be compiled with GHC right now? I noticed - fgenerics but I think it does something else entirely. GH is a pre-compiler that takes GH code to Haskell code, so this is a two-step process. -fgenerics turns derivable type classes on (see Derivable type classes, Ralf

Re: [Haskell-cafe] Arrows for invertible programming: Notation, question

2005-12-23 Thread Arjen
On Fri, 23 Dec 2005, Joel Reymont wrote: Folks, I have been looking at the code for the Arrows for invertible programming paper (http://www.cs.ru.nl/A.vanWeelden/bi-arrows/) and I have a question about syntax. ghci surely does not like it. I've updated the web page to say that is does not

Re: Notation question

2001-05-29 Thread John Hughes
G |- f :: all x::S . T G |- s :: S -- G |- f s :: [s/x]T Any more takers? I still don't have any pointers to literature where this theorem notation is explained more fully, and I'd

Re: Notation question

2001-05-29 Thread Frank Atanassow
Juan Carlos Arevalo Baeza wrote (on 28-05-01 18:02 -0700): Just a very naive question, because I'm really curious. I've seen in previous messages here discussions about type systems using this kind of notation: G |- f :: all x::S . T G |- s :: S

Re: Notation question

2001-05-29 Thread Jon Fairbairn
and not just type systems but also other aspects of operational semantics. What we have here is a single rule from a rule-based inductive definition of a certain relation G |- s :: S between typing environments G, expressions s and types S. It's probably worth mentioning here that this

Re: Notation question

2001-05-29 Thread Tom Moertel
Another introduction, with emphasis on the historical development: Philip Wadler, Proofs are Programs: 19th Century Logic and 21st Century Computing. http://www.cs.bell-labs.com/who/wadler/topics/history.html It's a fun read, too. Cheers, Tom

Notation question

2001-05-28 Thread Juan Carlos Arevalo Baeza
Just a very naive question, because I'm really curious. I've seen in previous messages here discussions about type systems using this kind of notation: G |- f :: all x::S . T G |- s :: S -- G |- f s :: [s/x]T I'd never seen it before,

Re: Notation question

2001-05-28 Thread Mark Carroll
On Mon, 28 May 2001, Juan Carlos Arevalo Baeza wrote: Just a very naive question, because I'm really curious. I've seen in previous messages here discussions about type systems using this kind of notation: G |- f :: all x::S . T G |- s :: S

Re: Notation question

2001-05-28 Thread Juan Carlos Arevalo Baeza
At 09:24 PM 5/28/2001 -0400, Mark Carroll wrote: G |- f :: all x::S . T G |- s :: S -- G |- f s :: [s/x]T I'm far from the right person to have a go, but while we're waiting for someone who knows what they're talking about: :) Thanx.

Re: Notation question

2001-05-28 Thread David Scarlett
- Original Message - From: Juan Carlos Arevalo Baeza [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 29, 2001 11:02 AM Subject: Notation question Just a very naive question, because I'm really curious. I've seen in previous messages here discussions about type systems