[Haskell] ANNOUNCE: htags-1.0

2008-11-03 Thread David Sankel
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/htags htags is a tag file generator to enable extra functionality in editors like vim. It expands upon hasktags by using a full Haskell 98 parser and options for recursion. -- David Sankel Sankel Software www.sankelsoftware.com 585 617

[Haskell] ANNOUNCE: rsa-haskell 2.0.1

2007-05-01 Thread David Sankel
available at http://www.netsuperbrain.com/rsa-haskell.html In this 2.0.1 release I've added a bunch of documentation and incorporated an archive with windows binaries for the command line tools. Please let me know if you have any questions or comments. Enjoy! David -- David Sankel Sankel Sof

Re: [Haskell] Re: putStr is not evaluated in the correct order

2006-09-09 Thread David Sankel
On 9/5/06, Bruno Martínez <[EMAIL PROTECTED]> wrote: C++ avoids this problem 'tieing' cin and cout.  Why can't haskell do thesame?I was thinking the same thing. I'm imagining a situation where processes are communicating to each other using pipes, but cannot think of a concrete case. Do you know if

Re: [Haskell] Read Instances for Data.Map and Data.Set

2005-10-21 Thread David Sankel
On 10/19/05, Georg Martius <[EMAIL PROTECTED]> wrote: > I was really annoyed by the fact that for Data.Map and Data.Set are no Read > instances declared, but Show instances are! I believe there should be some > kind of unwritten rule that in the standart lib the Show and Read instances > come pairw

Re: [Haskell] Should inet_ntoa Be Pure?

2005-05-07 Thread David Sankel
Below is the relevant source code. David foreign import ccall unsafe "my_inet_ntoa" c_inet_ntoa :: HostAddress -> IO (Ptr CChar) foreign import CALLCONV unsafe "inet_addr" c_inet_addr :: Ptr CChar -> IO HostAddress --

Re: [Haskell] Re: 2-D Plots, graphical representation of massive data

2004-08-28 Thread David Sankel
A bit off topic, but a haskell charting/graphic library designer would be wise to check out the highly successful python equivelant, pychart. It seems as though a library equivelant in features to pychart is exactly what the original poster is looking for. David __

[Haskell] Lists as Arrows

2004-06-05 Thread David Sankel
Hello, Forgive me, I have but a fuzzy idea of what Arrows are. I was thinking it might be possible to make lists arrows instead of monads. This would allow (++) to be one of those special arrow computations. It would have some quite nice properties. For example (++ [a]) could be a O(1) ope

Re: [Haskell] main::[String]->IO() ?

2004-03-23 Thread David Sankel
--- Steffen Mazanek <[EMAIL PROTECTED]> wrote: > I think this would simplify everyday-programming a lot. Or are there > any severe theoretical (semantical) problems (main is running in the IO > monad either way)? The type signature of main currently is: main :: IO() and the new type signature

Re: [Haskell] Implicit parameters redux

2004-01-28 Thread David Sankel
Ben, Could you explain in an extremely dumbed-down way what this is? It would be great if there were examples of 1) Some common, simple, and useful code in Haskell. 2) Same code using Implicit Parameters with a discussion of how it is better. Thanks, David J. Sankel ___

Re: type classes, superclass of different kind

2003-12-11 Thread David Sankel
--- Robert Will <[EMAIL PROTECTED]> wrote: -- > Here -- > is a quesion for the -- > most creative of thinkers: which is the design (in -- > proper Haskell or a -- > wide-spread extension) possibly include much -- > intermediate type classes and -- > other stuff, that comes nearest to my desire? He

Doing weird things with types.

2003-11-06 Thread David Sankel
Hello All, I'm trying to create a generic function (*) using classes. I've been playing with ghc extensions but haven't found what I need yet. class HasTimes a b c where (*) :: a -> b -> c This doesn't work because it can't figure out what the return types are for a general expression a*(b

[ANNOUNCE] rsa-haskell 2.0.0

2003-06-07 Thread David Sankel
=== rsa-haskell 2.0.0 === RSA implementation in Haskell (rsa-haskell) contains the Simple and Strong Cryptography program set and Haskell libraries of several cryptographic standards. The libraries include haskell implementations of SHA1, EME-OAEP, EMSA-PS

Haskell Networking Example

2003-04-02 Thread David Sankel
Hello All, Here is an example of using haskell networking operations for those interested. The implementation is a simple echo server. echoclient.hs: module Main( main ) where import Network import IO import Control.Concurrent main :: IO () main = withSocketsDo $ --For windows compatibility

Interesting Read

2003-02-18 Thread David Sankel
An interesting read: http://www.paulgraham.com/popular.html Any thoughts? David J. Sankel ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Proposal Proposal: haskell-gui addendum to haskell standard

2003-01-22 Thread David Sankel
Hello Everyone, I believe that haskell would have great benifit from a platform independant specification for a graphical user interface module or set of modules. I've been blessed with a lot of time on my hands so I'd be willing to organize this project if needed. Since there are several wo

Re: ANNOUNCE: Haskell Wiki resurrected

2002-12-30 Thread David Sankel
--- John Meacham <[EMAIL PROTECTED]> wrote: > On another note related to providing services to the > haskell comunity, > how about a public bugzilla server on > bugs.haskell.org? > (http://bugzilla.org) any haskell project which > wishes to use the public > bug server could be set up with an entry,

Interpret haskell within haskell.

2002-12-19 Thread David Sankel
I was wondering if there is any project that aims to interpret haskell within haskell. Is it feasable that a program can import a user's .hs file that has something like: greeting :: String greeting = "Something" port :: Int port = 32 + 33 And the program can parse and execute the user's functi

Re: video4linux

2002-12-10 Thread David Sankel
--- Martin Huschenbett <[EMAIL PROTECTED]> wrote: > Hi all, > > does anybody know how to read a single image from a > video4linux device under Haskell? > Thanks for all help, Hello, I think that the easiest way to do this would be to use the ffi to connect with C code that does this. David J.

ANNOUNCE: rsa-haskell 1.1.0

2002-11-27 Thread David Sankel
rsa-haskell 1.1.0 = This is an announcement for a version 1.1.0 of the rsa-haskell library/tools. Description: rsa-haskell is a haskell implementation of the RSA algorithm. It contains simple programs that are useful for encrypting/decrypting anything that can be piped from ST

Re: how to convert IO String to string (Simple answer)

2002-11-24 Thread David Sankel
--- Lu Mudong <[EMAIL PROTECTED]> wrote: > Thanks a lot for you guys' help. > > I am very new to haskell and tried some methods you > guys advised, doesn't > seem to work, i think i didn't do it properly, > here's my code and result, > hope you can point out what's wrong. thanks! > Lots of theo

ANNOUNCE: rsa-haskell 1.0.0

2002-11-12 Thread David Sankel
rsa-haskell 1.0.0 = This is an announcement for a version 1.0.0 of the rsa-haskell library/tools. Description: rsa-haskell is a haskell implementation of the RSA algorithm. It contains simple programs that are useful for encrypting/decrypting anything that can be piped from ST

Re: finding ....

2002-03-19 Thread David Sankel
--- Pixel <[EMAIL PROTECTED]> wrote: > Lennart Augustsson <[EMAIL PROTECTED]> writes: > > > > Diego Yanivello wrote: > > > > > > > hi,is there (in Haskell) a function like > existFile :: FilePath -> > > > > IO (Bool) ? Thanks! > > > > Using such a function is generally a bad idea > b

Re: Help

2002-02-25 Thread David Sankel
--- "Juan M. Duran" <[EMAIL PROTECTED]> wrote: > Hi, I'm writting a small parser in Haskell and, when > it is all done, I get > the following problem: Type Binding. > > The thing is, I have 3 main functions: > 1) Read the file, its type is: [Char] ->IO [Char] > (see InputOutput.hs) > 2) Parse a s