News aggregator

I need help, Im desperate..

Haskell on Reddit - Wed, 10/21/2015 - 6:44am

Im going to be graduated this november and suddenly my uni needed me to redo a test in haskell if not I cant graduate :(

Ive got the questions with me for the upcoming test.. But I havent got a clue what to do with it as I have zero knowledge in this language and really needed your help,

If you guys could help me write haskell programs to do the following:

1.determine factors of a number n.

2.determine if a given number is prime.

3.reverse a list of values.

4.determine if a number is a palindrome. Example of palindrome number

15651 -> palindrome 1342-> not a palindrome

Please Im desperate my test is tomorrow and I havent got a single clue what to do.

EDIT: I sat for the test, the question didnt exactly came this way but, somehow I managed it..

submitted by lilbon369
[link] [19 comments]
Categories: Incoming News

Interesting abstract concepts in Functional Programming/Category Theory

Haskell on Reddit - Wed, 10/21/2015 - 6:38am

What are the interesting abstract and general concepts that a Haskeller might want to learn about? (when I say concepts I mean monads, lenses, ...) What are the examples of application of these concepts?

I would be most grateful for mentions of concepts based on some actual theory (in other words I prefer reading about discovered stuff rather than invented, to use the differentiation I hear from Philip Wadler).

submitted by jd823592
[link] [2 comments]
Categories: Incoming News

Install Haste, windows

Haskell on Reddit - Wed, 10/21/2015 - 6:20am


Im using winGHCi but Im not quite sure how to install haste, I have downloaded and installet the haste installer from their website but then Im not sure how to use it. Do I have to install in in a certain path or something?


submitted by Kablaow
[link] [2 comments]
Categories: Incoming News

PhD and Postdoc Positions - KWARC,Jacobs University Bremen

General haskell list - Wed, 10/21/2015 - 6:17am
The KWARC group [1] at Jacobs University Bremen [2] is looking for Ph.D. candidates and PostDocs in multiple projects, e.g. [3,4]. See also Jacobs University Bremen is a private, English-speaking research university in Germany. The KWARC group conducts research on the representation and management of formal and informal knowledge in the STEM disciplines (Science, Technology, Engineering, and Mathematics). Our interests cover the whole range from formal to informal knowledge and include - logics and foundations of mathematics - formalizing/verifying knowledge - informal and semi-formal documents (specifications, papers, web pages, etc.) - domain-specific applications (spreadsheets, CAD, etc.) - knowledge management (search, user interfaces, system integration, etc.) We build systems that cover these diverse areas uniformly and integrate across domains, languagues, and tools, always combinng logical correctness, wide-range applicabi
Categories: Incoming News

How do you do a Hex board in Haskell?

Haskell on Reddit - Wed, 10/21/2015 - 4:24am

Hi. I'm planning to (maybe) write a game of Hex in Haskell. How would I represent the board? Should I use a quadtree, or Vectors of Vectors, or something else? I need to be able to check easily if both ends are connected.

I'm planning to call it Hexal.

I'm planning to use minmax and I want to use pure code.

submitted by jkabrg
[link] [27 comments]
Categories: Incoming News

3 release policy

libraries list - Tue, 10/20/2015 - 8:55pm
A "3 release policy" has been recently mentioned several times, whereby it should always be possible to write code that compiles with the last three releases of GHC, without generating any -Wall warnings. The no warning requirement seems excessively harsh. Will early warnings of impending breakage really cause so much trouble that accepted proposals have to be dragged out over several years to avoid them? If so, would a flag to suppress the warnings suffice? I should note that GHC has traditionally had no qualms about introducing new warnings, on by default. -- View this message in context: Sent from the Haskell - Libraries mailing list archive at
Categories: Offsite Discussion

Callstack Implicit Param for Unsafe Prelude Functions

haskell-cafe - Tue, 10/20/2015 - 6:29pm
Since the latest base now has a way of getting generating stack traces via the `CallStack` implicit param, is there any reason not to add that param to the error messages of unsafe functions in the Prelude ( and even commonly used modules like Data.Maybe/Data.List)? The type signature will change but for most users it should be a drop-in replacement and a great aid to debugging. Thanks! -deech _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe< at >
Categories: Offsite Discussion

Job opportunities at Kaspersky Lab (Moscow)

haskell-cafe - Tue, 10/20/2015 - 3:48pm
Here at Kaspersky Lab, we are developing a secure platform&framework. We have two job opportunities right now. Both opportunities assume good command of Haskell, since we use Haskell extensively. These are full time positions, available at our Moscow (Russia) office. If you are interested, please apply on the corporate site or send your CV to me directly at dmitry.kulagin< at > Descriptions: Software Engineer: Responsibilities: * Development of core of the security system * Tools development (such as compilers/DSL) Skills/experience: * Strong experience developing with Haskell * C/C++ development experience * Good knowledge of basic algorithms and data structures * Compilers/DSLs development experience (desirable) * System programming experience (desirable) * Understanding of OS internals (desirable) * Experience in development of embedded and/or real-time applications (desirable) URL: * Researcher (formal methods/com
Categories: Offsite Discussion

Problems with Stack on Gentoo Linux

haskell-cafe - Tue, 10/20/2015 - 11:19am
Hi all I’m sorry if this is not the right list to ask, I was unsure. I’m having problems compiling a project with stack on a Gentoo machine. I only have shell access to the machine, so I don’t have too much info about it, but the admin assured me that everything is up to date. I’ve upgraded to the latest stack, but the problem was also present with 0.1.4. While doing stack build on my project with resolver lts 3.10 I get the following strange error: ----------------------------------------------------------------------------------------------
Categories: Offsite Discussion

Default definition for fromRational

libraries list - Thu, 10/15/2015 - 11:51pm
A suitable default definition for fromRational could be the following: fromRational n = fromInteger (numerator n) / fromInteger (denominator n) Changing the MINIMUM pragma to just {-# MINIMAL recip | (/) #-} - Joe
Categories: Offsite Discussion

New gtk2hs 0.12.4 release

gtk2hs - Wed, 11/21/2012 - 12:56pm

Thanks to John Lato and Duncan Coutts for the latest bugfix release! The latest packages should be buildable on GHC 7.6, and the cairo package should behave a bit nicer in ghci on Windows. Thanks to all!


Categories: Incoming News