[Haskell-cafe] I think someone had a complicated program to use brackets for array indexing - is it possible to use a DSL for this?

Carter Schonwald carter.schonwald at gmail.com
Mon Jun 1 21:51:50 UTC 2015


There's some plans to allow more flexible overloaded list syntax that, once
done, would allow list style notation for static sized tuples/lists. But
it's probably not gonna be mature till ghc 7.14 at the current rate.
Hopefully 7.12, but more likely 7.14

On Monday, June 1, 2015, KC <kc1956 at gmail.com> wrote:

> I'm a part time tutor even though I don't look Elizabethan
>
> I was trying to lower the learning curve for students
>
> Maybe I'll point them to
> http://dev.stephendiehl.com/hask/
> And
> Data.Vector
>
> --
> --
>
> Sent from an expensive device which will be obsolete in a few months! :D
>
> Casey
>
> On Jun 1, 2015 1:35 PM, "Brandon Allbery" <allbery.b at gmail.com
> <javascript:_e(%7B%7D,'cvml','allbery.b at gmail.com');>> wrote:
>
>> On Mon, Jun 1, 2015 at 4:29 PM, KC <kc1956 at gmail.com
>> <javascript:_e(%7B%7D,'cvml','kc1956 at gmail.com');>> wrote:
>>
>>> Then a tuple might work better as input to a function to index into an
>>> array
>>>
>>> e.g. myArray  (5)
>>>
>>
>> Aside from 1-tuples not being a thing? (That's the same as (myArray 5).)
>>
>> --
>> brandon s allbery kf8nh                               sine nomine
>> associates
>> allbery.b at gmail.com <javascript:_e(%7B%7D,'cvml','allbery.b at gmail.com');>
>>                                  ballbery at sinenomine.net
>> <javascript:_e(%7B%7D,'cvml','ballbery at sinenomine.net');>
>> unix, openafs, kerberos, infrastructure, xmonad
>> http://sinenomine.net
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150601/bfefc3dc/attachment.html>


More information about the Haskell-Cafe mailing list