Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Infix operators in Hamlet: yes or no?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Patrick Hurst  
View profile  
 More options Mar 28 2012, 4:48 pm
From: Patrick Hurst <phu...@amateurtopologist.com>
Date: Wed, 28 Mar 2012 15:48:31 -0500
Local: Wed, Mar 28 2012 4:48 pm
Subject: Re: [Yesod] Infix operators in Hamlet: yes or no?
I'm in favor of keeping them; it would be absurd IMO if you had to introduce a name for the function (* 5) in the surrounding context just so that you could multiply things by five.

Could you use haskell-src-exts for doing the parsing and then just evaluate the AST?

On Wednesday, March 28, 2012 at 4:37 AM, Michael Snoyman wrote:
> We discussed this a bit last week, but let's get it out in the open:
> do we want infix operators in Hamlet?

> I'm strongly leaning towards taking them all out (sans $, as Max mentioned).

> Relevant Github issue: https://github.com/yesodweb/yesod/issues/278


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.