On Thu, Jul 12, 2012 at 03:13:42PM -0400, Cale Gibbard wrote:
There are of course already lots of ways to create functions which
don't involve \
Well, I think it should be clear that we're talking here about
anonymous functions.
We're not exactly talking about function definitions, so much
Mikhail Vorozhtsov mikhail.vorozht...@gmail.com writes:
Hi.
After 21 months of occasional arguing the lambda-case
proposal(s) is in danger of being buried under its own trac
ticket comments. We need fresh blood to finally reach an
agreement on the syntax. Read the wiki page[1], take a look
On 07/05/2012 09:42 PM, Mikhail Vorozhtsov wrote:
Hi.
After 21 months of occasional arguing the lambda-case proposal(s) is in
danger of being buried under its own trac ticket comments. We need fresh
blood to finally reach an agreement on the syntax. Read the wiki
page[1], take a look at the
On 07/13/2012 03:12 AM, Bardur Arantsson wrote:
Speaking of which... would it be remiss of me to mention the elephant in
the room, namely the Eq instance for Float?
AFAICT there is no possible way for a Float value to fulfill the Eq type
class requirements, so why is it an instance? (I'm
On 13.07.2012 14:18, Sönke Hahn wrote:
On 07/13/2012 03:12 AM, Bardur Arantsson wrote:
Speaking of which... would it be remiss of me to mention the elephant in
the room, namely the Eq instance for Float?
AFAICT there is no possible way for a Float value to fulfill the Eq type
class
Am Donnerstag, den 12.07.2012, 13:38 -0400 schrieb Cale Gibbard:
Personally I don't see why everyone appears to prefer the syntax with
\ in it over just the obvious case section syntax which was originally
proposed.
case of { ... }
looks much better to me than
\case of { ... }
and
On Fri, Jul 13, 2012 at 01:21:25PM +0100, Wolfgang Jeltsch wrote:
I’m strongly opposed to the
case of { ... }
syntax, because there seems to be no natural arrow expression analog of
it.
A notation that starts with \ (like “\case”) can be carried over to
arrow expressions by
Quoth Cale Gibbard:
Personally I don't see why everyone appears to prefer the syntax with
\ in it over just the obvious case section syntax which was originally
proposed.
case of { ... }
...
Does anyone else agree?
Yes. I don't see this as an `anonymous function' in any special sense,
On Fri, Jul 13, 2012 at 7:29 AM, Aleksey Khudyakov
alexey.sklad...@gmail.com wrote:
Num inherits from Eq, so Float couldn't have an instance for Num if we
didn't have that Eq instance.
No more since GHC 7.4. But Eq is indeed superclass of Ord and it Ord is
used a lot.
...but Float's Ord
Am Freitag, den 13.07.2012, 06:57 -0700 schrieb Donn Cave:
Quoth Cale Gibbard:
Personally I don't see why everyone appears to prefer the syntax with
\ in it over just the obvious case section syntax which was originally
proposed.
case of { ... }
...
Does anyone else agree?
Yes.
On 13.07.2012 19:27, Brandon Allbery wrote:
On Fri, Jul 13, 2012 at 7:29 AM, Aleksey Khudyakov
alexey.sklad...@gmail.com mailto:alexey.sklad...@gmail.com wrote:
Num inherits from Eq, so Float couldn't have an instance for Num
if we
didn't have that Eq instance.
No
Quoth Wolfgang Jeltsch g9ks1...@acme.softbase.org,
...
What is an anonymous function? A function that has no name, that is, a
function that is not assigned to an identifier. So (+ 1), \x - x + 1,
and any lambda case are all anonymous functions.
All right, that more general definition works for
On 12 July 2012 12:33, Andres Löh and...@well-typed.com wrote:
Your example compiles for me with HEAD (but fails with 7.4.1 and
7.4.2, yes). I've not tested if it also works.
Great, I will wait for a new release then.
Bas
___
Glasgow-haskell-users
On Thu, Jul 12, 2012 at 7:38 PM, Cale Gibbard cgibb...@gmail.com wrote:
Personally I don't see why everyone appears to prefer the syntax with
\ in it over just the obvious case section syntax which was originally
proposed.
case of { ... }
looks much better to me than
\case of { ... }
On Fri, Jul 13, 2012 at 9:12 PM, Gábor Lehel illiss...@gmail.com wrote:
On Thu, Jul 12, 2012 at 7:38 PM, Cale Gibbard cgibb...@gmail.com wrote:
case of { ... }
looks much better to me than
\case of { ... }
I also completely agree, but I don't want my opinion to get in the way
of
15 matches
Mail list logo