[aklug] Re: Isn't it funny... writing modules

From: Tim Johnson <tim@akwebsoft.com>
Date: Mon Jun 20 2011 - 07:30:37 AKDT

* Christopher Howard <christopher.howard@frigidcode.com> [110619 21:30]:
> Isn't it funny... when you code an extension to a module, only to go
> back back to the documentation and find out the extension has already
> been written? :D I'm working with Haskell's HDBC.MySQL module, and I
> wrote all these functions to check if the SqlVals are the value expected
> and return contingency-safe Either values. So then I'm thinking, "this
> is useful... maybe I should make it into a class or something." But I'm
> not sure how to do it, so I go back to the original module source for
> clues, and guess what I find... class instances with type signatures
> that match my functions almost exactly.
 Does haskell have anything like pydocs?
 If so, then you could browse their documentation.

-- 
Tim 
tim at johnsons-web dot com or akwebsoft dot com
http://www.akwebsoft.com
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon Jun 20 07:30:29 2011

This archive was generated by hypermail 2.1.8 : Mon Jun 20 2011 - 07:30:29 AKDT