HNotepad :: Haskell -> Gtk2Hs -> HNotepad ()

Hi !

this time went ahead with Gtk2 + Haskell [Gtk2Hs]. First GUI program… so.. thought to make simple Notepad 😛

wasn’t a waste anyway.. learned quite a few things.

code might not be pure Haskellish.. but I’m slowly getting used to use Haskell.. 🙂

This is how it looks –

and you can download source [.hs + glade file] from my skydrive or have a quick look at source on hpaste

Download Link

My first Haskell Adventure !

Hi !

I’ve been trying to spend some time with Haskell for long but college.. assignments … etc..were keeping me away. Finally got time + kick + excitement last night and decided to code something meaningful.
Thought to solve this challenge one more time > http://punetech.com/apply

Its quite simple. Read from input.txt [which is actually a twitter feed] > remove duplicate id entries > sort in descending order of Timestamp and save to output.txt.

Took pretty long time though. I was also reading relevant pages from RWH. had to read some things like Monads twice/thrice to understand. Then talking to folks in IRC #Haskell.. Still have to go through alot.

but it was fun. yeah! my first Haskell program that works as expected 😀

here’s the code. It still requires alot of cleaning and will do that after posting this. but this is the final v1.0 that works. So wanted to share this one only 😀

Continue reading