Stream

Join this community to post or comment

Mark Watson

Haskell Platform  - 
 
Wow! The Intero Haskell Emacs stack based development environment is great! https://commercialhaskell.github.io/intero/ I do a lot of my development on a leased large memory server, so I am on the lookout for Emacs support for Haskell that works well in a SSH shell. Thanks to the developers who worked on this!
Install package. Use Emacs's built in package manager. Add the following to your .emacs : ;; If you don't have MELPA in your package archives: (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (package-initialize) (package-refresh-contents) ;; Install ...
11
4
Add a comment...

Camilo Suñer

Discussion  - 
 
Hey there. I've redecently discovered Haskell, but I've yet to find a course in my city. Do guys have any recomendations regarding online guides/courses?
2
1
Peter Amidon's profile photoMark Wotton's profile photo
8 comments
 
Thirding haskellbook. Better structured in terms of pedagogy.
Add a comment...

Sean Leather

Discussion  - 
 
It was drawn to my attention that there is an active Reddit thread about the future of dependent types in Haskell. (Thanks for the heads up, @thomie!) Instead of writing a long response inline in R…
5
2
Sean Leather's profile photoOleg Nizhnik's profile photo
3 comments
 
This site can’t be reached
Add a comment...
 
I have a problem in Haskell :(

Can you help me?
1
ein mensch (MasterOfShortCode)'s profile photoBen Samuel's profile photo
7 comments
 
Also, in particular with TLS, use a separate library. When, not if, when there are exploits your consumers will need to be able to update TLS without having to wait on you. (This comes from personal experience being paged by our security folks to respond to zero-days.)
Add a comment...

Desonte Jolivet

Help and Advice  - 
 
Im reading Learn You Haskell for Greater Good, andI would like to define a list of Fibonacci numbers, but sadly my code isn't working.

http://hastebin.com/hatolavime.erlang_repl

I'm trying to use the list comprehension to create an infinite list of fib numbers can anyone give me a little advice and point me in the right direction.
2
Bart Massey's profile photoJoshua Underwood's profile photo
8 comments
 
Don't shoe-horn a recursion problem into a list comprehension. List comprehensions are good for defining sets that have "membership", and recursive definitions are good for "recursively enumerate" sets. Fibonacci numbers defined recursively. 
Add a comment...
 
have written a scripting language in haskell!

haskell is very good for writing those things

ac1235.github.io
AntLang Programming Language. Functional Programming Made Simple. server:8000 httprun {"Hello AntLang!"}. ↣ Learn More.
9
2
Add a comment...

John Cook

Discussion  - 
 
The latest episode of the .NET Rocks! podcast features Mark Seemann talking about Haskell.
7
Luka Hadžiegrić's profile photo
 
finally :D
Add a comment...
 
The GHC developers are very pleased to announce the release of the first new super-major version of our Haskell compiler in six years, GHC 8.0.1. This release features dozens of exciting developments including,. A more refined interface for implicit call-stacks, allowing libraries to provide ...
27
2
Dan Piponi's profile photo
 
So much new stuff. I really don't know how to catch up!
Add a comment...

Yves Parrays

Discussion  - 
 
Hi! I'm trying to use pipes to do this:
open file 1, get first line which is another file name.
Use it to open file 2, then for `zip (each line remaining in file 1) (each line in file 2)` sum the two lines.
Zipping two files known statically is OK, but I'm sort of at a loss regarding how to open file 2 from "within" the Pipe.

I asked it on SO with a code sample:
http://stackoverflow.com/questions/39125627/pipes-open-a-file-according-to-content-of-another
1
epsi nurwijayadi's profile photo
 
I'm about to have similar piping issue.

Thank you for bringing this topic.

I'm a n00b.
Add a comment...
 
Hey, a little question: do I have to give credits to the Haskell Platform, if I use it in a project (releases in binary form), or do I have to do anything, when using it?

Thank you in advance
1
ein mensch (MasterOfShortCode)'s profile photoAdam Sjøgren's profile photo
3 comments
 
The second clause in BSD-3 is:

"* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution."

See https://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22Revised_BSD_License.22.2C_.22New_BSD_License.22.2C_or_.22Modified_BSD_License.22.29 for more.
Add a comment...

Sean Leather

Discussion  - 
 
 
“For building server-side software, Haskell might be the closest thing to a secret weapon you’ll find today.”
— Carl Baatz
In 2012 I co-founded Better1, a startup building a new type of enterprise e-learning platform. Our goal was to make it faster and cheaper for large companies to develop, deliver, and analyse adaptive, cross-platform, multi-language, online courses. From day one, we decided to use Haskell as our ...
28
6
Add a comment...

Ramin Honary

Discussion  - 
 
 
Speaking from experience, I can say for myself that becoming more than just a novice programmer for the Haskell programming language has improved my ability to write code in other programming languages. It has given me a deeper understanding of computer science, which is essential for improving my skills as a software engineer.

When you are forced by a language (like Haskell) to separate pure code from "side-effectful" code as a completely separate function type (the "IO" type or the "State" type), when you are forced to think of algorithms as morphisms/transformations over data types, you start to think of all programming problems in this way, even when you use languages that do not force you to solve problems with these restrictions. And that helps you avoid many of the common mistakes that programmers make.
My first non-trivial program I was paid to write, was as an summer intern my sophomore year of college. It was a Zephyr client built using…
17
1
Add a comment...

Jan Žegklitz

Help and Advice  - 
 
Dear Haskell friends, could you help me?
2
Add a comment...
 
Hello everyone I'm having some trouble understanding how ghc package-systems work.
Could anyone give me some help?
Thanks in advance

http://stackoverflow.com/q/38047415/936505
1
Add a comment...

Sean Leather

Discussion  - 
 
At the end of January of this year, I switched to a new job, almost exclusively because I was enticed by the idea of being able to write Haskell. The concept of using such an interesting programming language every day instead of what I’d been doing before...
18
5
Sean Leather's profile photoThomas Løcke's profile photo
3 comments
 
Thank you for the explanation +Sean Leather :)
Add a comment...

Blake Sims

Help and Advice  - 
 
Hi,

I am a newb to Haskell and programming in general, but I was trying to write a basic program to find the elements for the alternating group for any n.

For the symmetric group I wrote something like this

input Data.List

symmetric n = permutations ([1..n])

What if I just want to find the even permutations? What is the quick and dirty way of doing this? I was looking at the package Data.Matrix and messing around with permutation matrices, but there has got to be a quicker and easier way of doing it. I am skimming the book learn you a Haskell, but my attention span is pretty short so if someone could direct me in the right direction I'd be much obliged.
1
Blake Sims's profile photoDavid Amos's profile photo
6 comments
 
countInversions (x:xs) = length (filter (x>) xs) + countInversions xs
countInversions [] = 0

> filter (even . countInversions) $ permutations [1..3]

[[1,2,3],[2,3,1],[3,1,2]]
Add a comment...

Ivan Miljenovic

Announcement  - 
 
 
I've given some teasers about this to various people over the past few weeks, but it's finally ready for the general public!
1
Add a comment...