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

Brandon Allbery allbery.b at gmail.com
Mon Jun 1 20:35:40 UTC 2015


On Mon, Jun 1, 2015 at 4:29 PM, KC <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                                  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/beginners/attachments/20150601/eaf17a35/attachment-0001.html>


More information about the Beginners mailing list