From: Dirk Ullrich <dirk.ullr...@gmail.com>
Date: Sat, 11 Aug 2012 00:14:48 +0200
Local: Fri, Aug 10 2012 6:14 pm
Subject: Re: [Idris] How to disambiguate infix operators?
Hi,
2012/8/8 Dirk Ullrich <dirk.ullr...@gmail.com>:
> 2012/8/7 Edwin Brady <edwin.br...@gmail.com>:
>>> Before trying my hand to fix this I have a question:
>> I would think ns.(~) is the most natural prefic syntax for this - I'm not sure there is a natural infix syntax. But to be honest, I don't really mind, because they both seem to make sense.
>> It should be that all that needs changing is the pfName function in Idris/Parser.hs. It may also be worth looking at Core/CoreParser.hs (which implements a basic parser for the core language, some of which is inherited by the main parser).
I hope I've got it now. The patch appended can be applied to Git
Next I would try to add support for infix oparators with namespaces in
Dirk
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.
| |||||||||||||||||