Re: [Haskell-cafe] An APL library for Haskell

2013-09-16 Thread Simon Peyton-Jones
PS: Oddly I sent this message in March 2012. I don't know why it has taken over 
year for it to be delivered!

Simon

From: Haskell-Cafe [mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Simon 
Peyton-Jones
Sent: 08 March 2012 13:45
To: hask...@haskell.org; Haskell Cafe
Cc: Lennart Augustsson; John Scholes; nic...@chalmers.se; Nate Foster; Andy 
Gill; Mary Sheeran; Fritz Henglein
Subject: [Haskell-cafe] An APL library for Haskell

Friends

Many of you will know the array language 
APL<http://en.wikipedia.org/wiki/APL_%28programming_language%29>.   It focuses 
on arrays and in particular has a rich, carefully-thought-out array algebra.

An obvious idea is: what would a Haskell library that embodies APL's array 
algebra look like?  In conversation with John Scholes and some of his 
colleagues in the APL community a group of us developed some ideas for a 
possible API, which you can find on the Haskell wiki here: 
http://www.haskell.org/haskellwiki/APL

However, we have all gone our separate ways, and I think it's entirely possible 
that that the idea will go no further.  So this message is to ask:

*   Is anyone interested in an APL-style array library in Haskell?

*   If so, would you like to lead the process of developing the API?

I think there are quite a few people who would be willing to contribute, 
including some core gurus from the APL community: John Scholes,  Arthur 
Whitney, and Roger Hui.

Simon
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] An APL library for Haskell

2013-09-16 Thread Austin Seipp
The message was held by Mailman, because it thought you had too many
recipients in the message. Gershom noticed this while we were doing
some maintenance, and released it. We also bumped the recipient limit
to 20 people, so this shouldn't be a problem again.

On Mon, Sep 16, 2013 at 4:32 PM, Simon Peyton-Jones
 wrote:
> PS: Oddly I sent this message in March 2012. I don’t know why it has taken
> over year for it to be delivered!
>
>
> Simon
>
>
>
> From: Haskell-Cafe [mailto:haskell-cafe-boun...@haskell.org] On Behalf Of
> Simon Peyton-Jones
> Sent: 08 March 2012 13:45
> To: hask...@haskell.org; Haskell Cafe
> Cc: Lennart Augustsson; John Scholes; nic...@chalmers.se; Nate Foster; Andy
> Gill; Mary Sheeran; Fritz Henglein
> Subject: [Haskell-cafe] An APL library for Haskell
>
>
>
> Friends
>
>
>
> Many of you will know the array language APL.   It focuses on arrays and in
> particular has a rich, carefully-thought-out array algebra.
>
>
>
> An obvious idea is: what would a Haskell library that embodies APL’s array
> algebra look like?  In conversation with John Scholes and some of his
> colleagues in the APL community a group of us developed some ideas for a
> possible API, which you can find on the Haskell wiki here:
> http://www.haskell.org/haskellwiki/APL
>
>
>
> However, we have all gone our separate ways, and I think it’s entirely
> possible that that the idea will go no further.  So this message is to ask:
>
> ·   Is anyone interested in an APL-style array library in Haskell?
>
> ·   If so, would you like to lead the process of developing the API?
>
>
>
> I think there are quite a few people who would be willing to contribute,
> including some core gurus from the APL community: John Scholes,  Arthur
> Whitney, and Roger Hui.
>
>
>
> Simon
>
>
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Regards,
Austin - PGP: 4096R/0x91384671
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] An APL library for Haskell

2013-09-16 Thread Carter Schonwald
Hey All,

As Dan Peebles remarks, Repa and similar libs give a great haskelly
vocabulary for this. Indeed, most of the examples in the wiki page are very
much expressible with the REPA data model.

I'd like to take this opportunity note that I'll be releasing a prototype
library for numerical arrays / numerical computation / etc that draws from
Repa and adds some ideas i've developed over the past year, later this
month. (yes and the core stuff will be bsd3)

barring irresolvable design flaws, i'm very much committed to building
tools in this space that hopefully can see widespread adoption (and use) by
the community.

I'm pretty buried with some other matters for the next week or so, but I
hope to get that preview out at the end of the month. stay tuned ;)
-Carter






On Sun, Sep 15, 2013 at 9:57 PM, Daniel Peebles wrote:

> Interesting idea. It seems like building this on top of REPA would save a
> lot of work, since it has a native notion of "rank" encoded in the type
> system. I'd then see the APL-like combinators as a "niche" API for REPA,
> rather than as a library of their own. And of course, you'd get
> parallelization for free, more or less. I think some of the combinators on
> that wiki page already have counterparts in the REPA API.
>
>
>
>
> On Thu, Mar 8, 2012 at 8:44 AM, Simon Peyton-Jones 
> wrote:
>
>>  Friends
>>
>> ** **
>>
>> Many of you will know the array language 
>> APL.
>> It focuses on arrays and in particular has a rich, carefully-thought-out
>> array algebra. 
>>
>> ** **
>>
>> An obvious idea is: *what would a Haskell library that embodies APL’s
>> array algebra look like*?  In conversation with John Scholes and some of
>> his colleagues in the APL community a group of us developed some ideas for
>> a possible API, which you can find on the Haskell wiki here:
>> http://www.haskell.org/haskellwiki/APL
>>
>> ** **
>>
>> However, we have all gone our separate ways, and I think it’s entirely
>> possible that that the idea will go no further.  So this message is to ask:
>> 
>>
>> **· **Is anyone interested in an APL-style array library in
>> Haskell?
>>
>> **· **If so, would you like to lead the process of developing
>> the API?
>>
>> ** **
>>
>> I think there are quite a few people who would be willing to contribute,
>> including some core gurus from the APL community: John Scholes,  Arthur
>> Whitney, and Roger Hui.   
>>
>> ** **
>>
>> Simon
>>
>> ___
>> Haskell-Cafe mailing list
>> Haskell-Cafe@haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>>
>
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] An APL library for Haskell

2013-09-16 Thread MIMUW
Dear Haskellers & APLers,

On 03/08/2012 02:44 PM, Simon Peyton-Jones wrote:
> Friends
> 
> Many of you will know the array language 
> APL.   It 
> focuses on arrays and in particular has a rich, carefully-thought-out array 
> algebra.
> 
> An obvious idea is: what would a Haskell library that embodies APL's array 
> algebra look like?  In conversation with John Scholes and some of his 
> colleagues in the APL community a group of us developed some ideas for a 
> possible API, which you can find on the Haskell wiki here: 
> http://www.haskell.org/haskellwiki/APL
> 
> However, we have all gone our separate ways, and I think it's entirely 
> possible that that the idea will go no further.  So this message is to ask:
> 
> * Is anyone interested in an APL-style array library in Haskell?
> 
> * If so, would you like to lead the process of developing the API?
> 
> I think there are quite a few people who would be willing to contribute, 
> including some core gurus from the APL community: John Scholes,  Arthur 
> Whitney, and Roger Hui.
+1

If it may also be an opportunity to think of a standard, efficient
type-class API for multidimensional arrays numeric programmers would
find a new heaven in Haskell too.

With type-level nats one could also hope to reach efficiency of FiSh or
SAC compiler (if anyone remembers these functional wonders, that used
type-level array shapes to improve efficiency of array computations
beyond that of naive C-code.)

Only one note would be that it is to be ultimately included in Haskell
Platform, one needs a more permissive licence than that of HMatrix
(since all HP packages are BSD3, I believe?)
--
  Best regards
Michał J. Gajda
yi, hPDB

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] An APL library for Haskell

2013-09-15 Thread Daniel Peebles
Interesting idea. It seems like building this on top of REPA would save a
lot of work, since it has a native notion of "rank" encoded in the type
system. I'd then see the APL-like combinators as a "niche" API for REPA,
rather than as a library of their own. And of course, you'd get
parallelization for free, more or less. I think some of the combinators on
that wiki page already have counterparts in the REPA API.




On Thu, Mar 8, 2012 at 8:44 AM, Simon Peyton-Jones wrote:

>  Friends
>
> ** **
>
> Many of you will know the array language 
> APL.
> It focuses on arrays and in particular has a rich, carefully-thought-out
> array algebra. 
>
> ** **
>
> An obvious idea is: *what would a Haskell library that embodies APL’s
> array algebra look like*?  In conversation with John Scholes and some of
> his colleagues in the APL community a group of us developed some ideas for
> a possible API, which you can find on the Haskell wiki here:
> http://www.haskell.org/haskellwiki/APL
>
> ** **
>
> However, we have all gone our separate ways, and I think it’s entirely
> possible that that the idea will go no further.  So this message is to ask:
> 
>
> **· **Is anyone interested in an APL-style array library in
> Haskell?
>
> **· **If so, would you like to lead the process of developing the
> API?
>
> ** **
>
> I think there are quite a few people who would be willing to contribute,
> including some core gurus from the APL community: John Scholes,  Arthur
> Whitney, and Roger Hui.   
>
> ** **
>
> Simon
>
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] An APL library for Haskell

2013-09-15 Thread Simon Peyton-Jones
Friends

Many of you will know the array language 
APL.   It focuses 
on arrays and in particular has a rich, carefully-thought-out array algebra.

An obvious idea is: what would a Haskell library that embodies APL's array 
algebra look like?  In conversation with John Scholes and some of his 
colleagues in the APL community a group of us developed some ideas for a 
possible API, which you can find on the Haskell wiki here: 
http://www.haskell.org/haskellwiki/APL

However, we have all gone our separate ways, and I think it's entirely possible 
that that the idea will go no further.  So this message is to ask:

* Is anyone interested in an APL-style array library in Haskell?

* If so, would you like to lead the process of developing the API?

I think there are quite a few people who would be willing to contribute, 
including some core gurus from the APL community: John Scholes,  Arthur 
Whitney, and Roger Hui.

Simon
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe