Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  dismantling monolithic data structure (Michael Litchard)
   2.  Functional JavaScript Opportunity in NYC (Ryan Trinkle)


----------------------------------------------------------------------

Message: 1
Date: Wed, 22 May 2013 09:24:23 -0700
From: Michael Litchard <[email protected]>
Subject: [Haskell-beginners] dismantling monolithic data structure
To: "[email protected]" <[email protected]>
Message-ID:
        <caezekyrmkrqqw7mxkpe+hkuqv+takmnyaeu6yderb9zt2px...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

This is in reference to an ongoing project, whose latest problem was
articulated on stackoverflow:

http://stackoverflow.com/questions/16484322/functional-banana-traveller-timer-and-player-independent-events

While struggling with this problem, I realized the monlithlic style of
GameState did not fit the FRP
approach. This was also noticed by Heinrich, who advised me on steps to
take to fix that.
Here's a quote from StackOverflow I'd like to talk about.

"First, looking at your code, I find it odd that you have "outsourced" the
actual gameplay logic to the monolithic GameState type and the
updateGSfunction. Now, this is not a bad thing to do, it's just that
there is no
benefit from using FRP in this style. You can remove the
makeNetworkDescription function altogether and register an event handler
with addCommandEvent by hand instead."

He then goes on to offer some useful details that address the problem
articulated in the question, which also gives a general approach about how
to do this right.

But first thing is first, getting rid of makeNetworkDescription.

I'm trying to figure out how to register an event handler with
addCommandEvent by hand.
What functions and examples could I look at to get an idea of what to do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130522/599366f0/attachment-0001.htm>

------------------------------

Message: 2
Date: Wed, 22 May 2013 15:07:43 -0400
From: Ryan Trinkle <[email protected]>
Subject: [Haskell-beginners] Functional JavaScript Opportunity in NYC
To: [email protected], [email protected]
Message-ID:
        <cajxmr1gno3pjj-+mryyc604k9hiprt-grotxek6cs9t6wxp...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi everyone,

Our company, skedge.me, is looking for a full-time front-end developer in
the NYC area.  Our front-end is written in JavaScript, but our back-end is
written in Haskell, so we're looking for people with solid JavaScript
experience but also a strong interest in functional programming.

No work experience in Haskell is required, but we do require all applicants
to submit a small code sample - something on the scale of a Project Euler
problem - in a statically-typed functional language in addition to a more
traditional JavaScript code sample.  We write all of our JavaScript in a
functional style, and we use the Google Closure compiler to provide some
type checking for us, so we're looking for people who enjoy working in an
environment with a bit more structure than the average JavaScript project.

For more information or to apply, visit http://skedge.me/careers or contact
me at [email protected].


Ryan Trinkle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20130522/b4aaea46/attachment-0001.htm>

------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 59, Issue 29
*****************************************

Reply via email to