↓ Skip to main content

Haskell

Caching hackage

·3 mins

On sev­eral oc­ca­sions I no­ticed that when per­form­ing a cabal up­date that the in­dex was be­ing down­loaded at the rate of plus min 300 KB/s. Fi­nally I got around to do some­thing about this. I’ve set up a cach­ing server loc­ated in Utrecht, The Neth­er­lands. It is a cach­ing proxy for the hack­age re­pos­it­ory. If you want to use it, add the fol­low­ing to your ~/.cabal/config file. (Or equi­val­ent on Win­dows.)

lhs2TeX-hl version 1.4.5 has been released!

·1 min

I’ve just re­leased a new ver­sion of lhs2TeX-hl: 1.4.5 and it in­cludes some new fea­tures: Ad­ded sup­port for re­curs­ively tra­vers­ing in­cludes of .lhs files The pro­gram now doesn't fail com­pletely when haskell-src-exts fails to parse a file. An er­ror is re­por­ted and the pro­gram con­tin­ues. :) A fmt file is still gen­er­ated. func­tions that aren't func­tions but con­stants are now given the tag `constant' Re­moved a faulty com­mand from the list. Cleaned up some code. (Prob­ably in­tro­duced other ugly code) Bin­ary op­er­at­ors are now type­set bet­ter. (I hope :)) Please let me know what you think.

Haskell code completion for TextMate

·1 min

Today I re­leased my script for ba­sic code com­ple­tion sup­port in TextMate. The pack­age can be found on hack­age and on git­hub. Please read the README for in­stall­a­tion in­struc­tions. Cur­rently only iden­ti­fi­ers from in­ter­preted source code is avail­able. Fu­ture re­leases will aim at provid­ing bet­ter code com­ple­tion sup­port by us­ing either Scion or HaskellSrcExts, or both.

lhs2TeX-hl 1.2.2 released

·1 min

Changelog: Classes are writ­ten to the format file; There should be less "am­bigu­ous op­er­ator" er­rors now; Re­moved the Agda de­pend­ency as it didn't do any­thing with Agda at all. Hack­age, GitHub.

lhs2TeX-hl 0.1.1.1 released

After the first re­lease of my tool on hack­age this re­lease ac­tu­ally is a work­ing pack­age. The pre­vi­ous one didn’t in­stall out of the box. The most im­port­ant changes are: Ad­ded a fil­ter for re­write rules that aren’t “lhs2TeX safe”, e.g. format () = ...; I hard­coded the de­fault format­ting rules for sev­eral of lhs2TeX de­faults, in­clud­ing but not lim­ited to ->, <- and =>. This is not a de­sir­able solu­tion but it suits my pur­poses. You can do lit­eral (nu­meral, char­ac­ter and string) format­ting eas­ily with lhs2TeX it­self with the fol­low­ing dir­ect­ives:

Debian Lenny and the Haskell Platform

Cur­rently there is no pack­age for the Haskell-Platform in Debian stable. How­ever, the source of this plat­form and GHC is avail­able for down­load at ghc and plat­form. How­ever, there are some is­sues to solve when in­stalling the plat­form from source. Mainly you’ll be miss­ing sev­eral pack­ages. The fol­low­ing com­mands worked at my own Debian ma­chine. If you find out that’s some­thing is miss­ing that was ap­par­ently already in­stalled on my ma­chine, don’t hes­it­ate to leave a com­ment.