Re: [Haskell-cafe] Opportunity for Haskell porting to java at RD labs in Bay Area, CA

2010-11-11 Thread namekuseijin
given all Oracle woes in the last few months, I'd say this is a
terrible timing and terrible decision.  How about instead an
experienced Haskell programmer to best leverage it rather than a
junior who's learned java at university and has just read Learn
Haskell in 2 weeks?

On Wed, Nov 10, 2010 at 6:42 PM, Padma pa...@sraoss.com wrote:
 We are looking for a entry level Haskell programmer who has experience in
 porting from Haskell to java. Please contact me by Email or you can call me
 at 408-207-9367.



 LOCATION: SUNNYVALE, CA

 DURATION: 6 MONTHS



 Degree: Bs or Ms or Ph.D

 Start immediately

 Good experience in porting particularly from Haskell to java environment.

 Check and validate smooth functioning of the system.(After porting is done)

 This is a RD project. (prior experience is desired)

 Good experience in testing and compiling.







 Regards,

 Padma

 SRAOSS INC.

 5300 Stevens Creek Blvd  Suite 460

 San Jose,CA 95129

 Direct:(408) 207-9367
 Tel: (408) 855-8200 x 321
 Fax: (408) 855-8206
 pa...@sraoss.com
 www.sraoss.com
 www.sra.co.jp



 ___
 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] Fwd: Questions about lambda calculus

2010-11-10 Thread namekuseijin
On Wed, Nov 10, 2010 at 3:36 PM, Ryan Ingram ryani.s...@gmail.com wrote:
 Max has a good solution, but another solution is to embed an untyped
 lambda calculus into Haskell

 -- atom is just used for output during testing
 data U = Atom Int | F (U - U)

 instance Show U where
   show (Atom s) = s
   show (F _) = function

 -- function application
 F f $$ x = f x
 infixl 9 $$

 fTrue = F $ \x - F $ \y - x
 fFalse = F $ \x - F $ \y - y

 fIf = F $ \b - F $ \x - F $ \y - b $$ x $$ y

this also has the benefit of looking as perlish as the original
example, if you know what I mean... ;)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANN: cil-0.1.0

2010-11-08 Thread namekuseijin
I can see some haskellers grinding their teeth and hurrying to make
their own rewrite of CIL itself in haskell.

On Mon, Nov 8, 2010 at 3:07 PM, Tom Hawkins tomahawk...@gmail.com wrote:
 CIL (C Intermediate Language) [1], not to be confused with the Common
 Intermediate Language, is a mature OCaml library that parses and
 reduces C programs down to a simplified subset of the C language,
 making it easier to analyze and compile C programs.  This library [2,
 3] parses these results, providing a Haskell interface to CIL.

 -Tom

 [1] http://cil.sourceforge.net/
 [2] http://hackage.haskell.org/package/cil
 [3] http://github.com/tomahawkins/cil
 ___
 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: [OT] Re: [Haskell-cafe] Haskell is a scripting language inspired by Python.

2010-11-08 Thread namekuseijin
On Thu, Nov 4, 2010 at 2:27 PM, Dan Doel dan.d...@gmail.com wrote:
 On Thursday 04 November 2010 12:12:51 pm Jeremy O'Donoghue wrote:

 Best laugh I've had in ages. Personal favourites are:

 The Forth one got me. I also like:

 OCaml: OCaml is an attempt to implement object-oriented syntax in Caml. It is
 related to SML.

 No mention of what Caml is, by the way. Hope you already know that. Maybe the
 SML entry will help?

 SML: SML is the current descendant of the ML programming language. The most
 common current implementation is Moscow.

 Nope, it has no information on what ML is.

it is a meta-language afterall...
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Haskell is a scripting language inspiredby Python.

2010-11-08 Thread namekuseijin
On Fri, Nov 5, 2010 at 6:42 AM, Ketil Malde ke...@malde.org wrote:
 Luke Palmer lrpal...@gmail.com writes:

  To us, scripting meant short, potent code that rolled off your
 fingers and into the computers mind, compelling it to do your job with
 reverence to the super power you truly are.

 Just when I thought, oh, there are two definitions for scripting
 language, another one pops out.  So scripting languages can be three
 things:

 1) A language for controlling ('scripting') an application (e.g. TCL, VBA)
 2) A language for controlling the running of various applications
   (e.g. shell scripts)
 3) An agile language for making short programs (e.g. Perl)

 More definitions of scripting language:

  a) too slow to do real work
  b) Also they don't scale well

 I think Haskell can be fast enough to do 'real work', and although I
 haven't really written any large programs in Haskell, I don't see why it
 should scale worse than other languages.

here's another definition:

a script is what you give the actors, but a program is what you give
the audience
-- Ada Lovelace according to Larry Wall

http://en.wikiquote.org/wiki/Larry_Wall#The_State_of_the_Onion_11

Like most Larry quotes, it is immediately loveable.

one of Haskell creators calls Haskell an advanced scripting language:

http://research.microsoft.com/en-us/um/people/emeijer/ErikMeijer.html
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell Forum

2010-07-27 Thread namekuseijin
On Tue, Jul 27, 2010 at 12:09 AM, aditya siram aditya.si...@gmail.com wrote:
 We have a Google group. Doesn't that qualify?

One can't post to Haskell Cafe through the usenet/NNTP/google group interface...
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cal, Clojure, Groovy, Haskell, OCaml, etc.

2009-09-30 Thread namekuseijin
On Mon, Sep 28, 2009 at 11:50 PM, Hong Yang hyang...@gmail.com wrote:
 learn and use. In my humble opinion, Haskell has a lot of libraries, but
 most of them offer few examples of how to use the modules. In this regards,
 Perl is much much better.

The Perl call is spot on.  Specially because Haskell has been
incorporating so much syntatic sugar that it's almost looking Perlish
noise already:

import Data.Array.Diff
import Data.IArray

update :: (Char - [Int]) - DiffArray Int ModP - Char - DiffArray Int ModP
update lookup arr c = arr // (map calc . lookup $ c)
 where
   calc i = (i, (arr ! i) + (arr ! (i-1)))

solve line sol = (foldl' (update lookup) iArray line) ! snd (bounds iArray)
 where
   iArray = listArray (0, length sol) $ 1 : map (const 0) sol
   lookup c = map (+1) . findIndices (== c) $ sol


I've not been following Haskell too much and am completely lost when
reading code like that.  I understand (+1), : and ! but what the hell
are . and $ for?
And that weird monad symbol in the Haskell logo is not even used! =
Not quite the worst example of such line noise much of Haskell
idiomatic code uses nowadays, though.

Point is:  = . $ : ! `` and meaningful whitespace are all nice
shortcuts, but also hairy confusing...
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Parallel graphics

2009-09-15 Thread namekuseijin
On Tue, Sep 15, 2009 at 8:48 AM, Andrew Coppin
andrewcop...@btinternet.com wrote:
 Using explicit threads has the nice side-effect...

side-effects are bad! ;-)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell programmers in São Carlo s - SP - Brazil?

2009-05-25 Thread namekuseijin
heh, a Lisp-br community of about 100 people generates about some 1
message a month.  I won't even try to guess 5 Haskellers from Sao
Paulo. :P

2009/5/23 Daniel Yokomizo daniel.yokom...@gmail.com:
 Hey, we have enough people for a São Paulo Haskell User Group.
 Anyone else interested?

 Best regards,
 Daniel Yokomizo

 2009/5/21 Fernando Henrique Sanches fernandohsanc...@gmail.com:
 São Caetano, SP, Brazil - right next to São Paulo. UFABC Student.

 Fernando Henrique Sanches


 2009/5/19 Maurí­cio briqueabra...@yahoo.com

 Anybody else around here?

 Best,
 Maurício

 ___
 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

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


Re: Is 78 characters still a good option? Was: [Haskell-cafe] breaking too long lines

2009-04-25 Thread namekuseijin
It's surely more than enough to Haskell, Python, Perl, C++ and other
very concise and expressive languages.  But for Java and the likes it
may well be just barely enough for a single *identifier* alone!!  :P

2009/4/21 Dusan Kolar ko...@fit.vutbr.cz:
 Dear all,

  reading that

 according the several style guides, lines shouldn't be too long
 (longer than 78 characters).
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: Is 78 characters still a good option? Was: [Haskell-cafe] breaking too long lines

2009-04-25 Thread namekuseijin
2009/4/21 Edward Kmett ekm...@gmail.com:
 I find a hard 80 character line length limit to be somewhat ridiculous in
 this day and age. I've long since revised my personal rule of thumb upwards
 towards 132, if only because I can still show two windows of that side by
 side with no worries, along with all the IDE browsing baggage, even on a
 fairly crippled laptop, and I've been able to have 132 columns since I
 picked up my first vt220 terminal in 1984 or so.

Good catch.  But here's another:  modern day IDEs like Eclipse or
Netbeans offer so friggin' many features all in-you-face at the same
time that the puny window reserved for code may be very well in the
80-chars limit anyway. ;)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: Is 78 characters still a good option? Was: [Haskell-cafe] breaking too long lines

2009-04-25 Thread namekuseijin
On Tue, Apr 21, 2009 at 9:52 AM, Neil Mitchell ndmitch...@gmail.com wrote:
 P.S.  We really need such a well written style guide for
  haskell.  Python has this nice PEP (Python Enhancement
  Proposals).  Should we start making our own HEP?

 We have one: urchin.earth.li/~ian/style/haskell.html

It should be called the Haskell Enhacement Language Proposals to get
any attention. ;)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe