Stream

Join this community to post or comment
 
Hello! I've posted question on stackoverflow:
http://stackoverflow.com/questions/30305439/can-i-save-regex-state-for-next-input
Can anybody help with this question?
1
Add a comment...
 
Here's a community effort to collaboratively put together a comparison of Haskell web frameworks for building RESTful web services. It's not yet the most in-depth of overviews, but I'm sharing it early hoping that people experienced with these frameworks could share their knowledge and help make a great resource.
Get the answer to "What are the best Haskell web frameworks for building RESTful web services?" See a list of the top 6 options and learn their pros and cons.
6
1
Andris Pelcbergs's profile photoKirill Zaborsky's profile photoYuji Yamamoto's profile photo
3 comments
 
as I have said I don't know much about it
Add a comment...

Sean Leather

Announcement  - 
 
Applied Functional Programming (AFP) Summerschool
Utrecht, Netherlands
6 - 17 July 2015

The summerschool teaches at both beginner and advanced levels via lectures and lab exercises. More info can be found here:

λ http://www.utrechtsummerschool.nl/courses/science/applied-functional-programming-in-haskell
λ http://foswiki.cs.uu.nl/foswiki/USCS
8
2
Michael Klimontov's profile photoAlejandro Serrano Mena's profile photo
Add a comment...

dolph das

Announcement  - 
 
U can use recursion without recursion!

Generalise recursion using higher order function (combinatorial), so u can write recursive lambdas without let expression
7
Add a comment...
 
In memoriam Prof. Paul Hudak.
Esther Schindler writes: Yale is reporting that Paul Hudak, professor of computer science and master of Saybrook College, died last night after a long battle with leukemia. He was known as one of the principal designers of Haskell, which you probably don't need to be told he defined as "a purely fun...
28
5
Drazen Popović's profile photoGabriel Pozo's profile photo
Add a comment...

Levent Erkok

Announcement  - 
[Haskell-cafe] [Job] Intel is hiring: FP/FV oriented folks most welcome.. Levent Erkok erkokl at gmail.com. Mon Apr 27 20:26:11 UTC 2015. Previous message: [Haskell-cafe] ANN: New Haskell.org Committee Members; Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ...
8
1
Michal Terepeta's profile photo
Add a comment...

Levent Erkok

Discussion  - 
 
Cheryl's birthday; solved using Haskell/SBV: https://gist.github.com/LeventErkok/654a86a3ec7d3799b624
8
2
Philip Thrift's profile photoWilliam Rutiser's profile photo
Add a comment...

Zsolt Szatmári

Discussion  - 
 
Hi!

May be a bit offtopic, but someone might find it useful... So.
Here is sfl, the Simple Functional Library for C++, inspired by Haskell, aiming to make functional programming in c++ more effective and fun. Already used in production, compatible with clang, gcc, and VS2013.

https://github.com/treasurebox/sfl
sfl - Simple Functional Library for C++
5
Zsolt Szatmári's profile photo
7 comments
 
+Bartosz Milewski +Matthew Brecknell Issues fixed, thanks!
Add a comment...

aditya siram

Announcement  - 
 
I'm pleased to announce the first release of Haskell bindings [1] to the FLTK GUI [2] toolkit.

It now works smoothly on Windows (64-bit), Linux and Mac allowing you to create truly cross-platform native GUI applications in pure Haskell and deploy statically linked executables with no dependencies.

Most of the FLTK API is covered except for a few minor widgets which I plan to get to in the next release.

Motivation behind the package and installation instructions are found in the Haddocks [3]. And to get you started it ships with a number of demos.

If you have any issues please report them on the Github [4] page.

I'd also love any other feedback so feel free to comment here or email me at the address listed on the Hackage [5] page.

Hope you enjoy!

[1] https://hackage.haskell.org/package/fltkhs-0.1.0.2
[2] http://fltk.org
[3] https://hackage.haskell.org/package/fltkhs-0.1.0.2/docs/Graphics-UI-FLTK-LowLevel-FLTKHS.html
[4] http://github.com/deech/fltkhs
[5] https://hackage.haskell.org/package/fltkhs-0.1.0.2
Versions, 0.1.0.0, 0.1.0.1, 0.1.0.2. Dependencies, base (==4.*), bytestring, directory, fltkhs, process. License, MIT. Author, Aditya Siram. Maintainer, aditya.siram@gmail.com. Category, UI, Graphics. Home page, http://github.com/deech/fltkhs ...
12
1
Yuji Yamamoto's profile photo
Add a comment...
 
Hi guys , I converted a reactive banana tutorial I read from Reactive Banana to Elerea and I works exactly how the example does now.
Here is the code hopefully it will help others get started too , it was quite a large learning and kinda still is. http://pastebin.com/kTnBBmLp 

Could somebody check my code I think I have been a bit hacky with the usage of transfer to create a signal? Any improvements would be great too. I timed the program and it too 0.001s. Its not really a valid performance test though lol but from what I can see 5 signals is nothing.

oh yeah , the tutorial : https://alfredodinapoli.wordpress.com/tag/reactive-banana/
3
keegan myers's profile photoAdrian “Boom” Nwk's profile photo
4 comments
 
+keegan myers oh right , well I do encourage you to try some frp although the learning is a bit steep it is none the less worthy. It's very easy to understand when you got it down :) 
Add a comment...
 
A URL for every type, constructor, and term
16
5
Jutaro jnf's profile photoPhilip Thrift's profile photoHilmar Hoffmann's profile photoStephen Pimentel's profile photo
3 comments
 
I feel like I've just come back from the future after reading that post.
Add a comment...

JP Moresmau

Announcement  - 
 
I'm stepping down as EclipseFP maintainer.
6
3
Felipe Lessa (meteficha)'s profile photoYuji Yamamoto's profile photoJooyung Han's profile photoVlatko Bašić's profile photo
3 comments
 
It doesn't make sense to spend your free time doing chores unless you like them :).
Add a comment...

dolph das

Discussion  - 
 
What are some good ways to read recursion? I often find it difficult to read complex recursions ..
1
Bart Massey's profile photoChristopher King's profile photo
8 comments
 
To learn recursion you must understand recursion.
Add a comment...

dolph das

Help and Advice  - 
 
How to make a simple function, say, String->String , to be invoked in android?  I have tried jhc,but it won't compile without the main function...
1
changsheng liu's profile photoChristopher King's profile photo
2 comments
 
+changsheng liu Where would you get that?
Add a comment...

dolph das

Discussion  - 
 
Why we need metaprogramming like template Haskell and eval in lisp ? does that mean our code is still not elaborate enough , or the programming languages still lacks sth? which recalls me the relationship between recursion and combinatorics.
3
keegan myers's profile photoJohn Lato's profile photo
2 comments
 
The primary use is for programmatically interacting with structure that's not expressible as a language expression.

In Haskell, we mostly use TH to create new declarations. Declarations aren't first-class and can't be part of an expression, so there's no way to interact with them at the Haskell level.

I would argue that lisp is different, in that everything is first-class and eval is basically the point of the language. I'm not a lisper though, so that's just my opinion. 
Add a comment...
 
I don't know why but GLFW-b keeps seg faulting on my arch box ..? But it's fine on windows? 
1
Add a comment...

Ramin Honary

Discussion  - 
 
 
Bookmarking this article about the Haskell programming language.

By declaring an isomorphism data type and instantiating it into the Category type class, this provides a framework for writing invertable code. One example of inverse functions are a parsers and pretty printers. If you are writing a parser and pretty printer, it is best to declare your parsers and pretty printers together. You can do this by writing both into an isomorphism data type.

Write your primitive combinators all as isomorphisms, then you can declare your parser and pretty printer in a single function. Now you can define your own programming language using a single data type, and you get just extract the parser and pretty printer from this data type. When you want to parse, evaluate the isomorphism in the "forward" direction. If you want to pretty print, evaluate your isomorphism in the "reverse" direction.

If your parser and pretty printer is monadic (which most parsers and pretty printers are), then just define your isomorphism such that the forward and reverse functions are Kleisli categories.

This is pure genius, I wish I had thought of it.
meaningless ramblings. Writing invertible functions. Last couple of posts in this blog might've been at least potentially useful. It probably wouldn't be the case for this one, because it's still about parsing, but doesn't use Parsec. Let's say you're writing a simplifier of arithmetic ...
View original post
5
2
Harald Bögeholz's profile photoYuriy Pitometsu's profile photo
Add a comment...

John Cook

Discussion  - 
 
New paper by +Dan Piponi and +Brent Yorgey 
I've now finished revising the paper that Dan Piponi and I had accepted to MPC 2015; you can find a PDF here: Polynomial Functors Constrained by Regular Expressions Here's the 2-minute version: cer...
11
3
Petr Pudlak's profile photoVonVictor Rosenchild's profile photo
Add a comment...

Iago Abal

Announcement  - 
 
 
New release of #Haskell bindings for Microsoft's #Z3 #SMT solver: z3 4.0.0

Highlights:
* Switched to newest API 4.x.
* Reference counting managed transparently by the garbage collector.
* Support for algebraic datatypes.

Release notes here: https://bitbucket.org/iago/z3-haskell/src/tip/CHANGES.md

Enjoy!
Bindings for the (now open source!) Z3 4.x Theorem Prover (https://github.com/Z3Prover/z3). Z3.Base.C provides the raw foreign imports from Z3's C API. Z3.Base does the marshaling of values between Haskell and C, and transparently handles reference counting of Z3 objects for you.
View original post
8
1
Yuji Yamamoto's profile photo
Add a comment...

Adrian “Boom” Nwk

Help and Advice  - 
 
Hey can somebody help me out here? I am trying to program a small application however my OpenGL calls arent working for some reason? Here is my code so far:

http://pastebin.com/3g4Lgtif
1
Anthony Cowley's profile photoAdrian “Boom” Nwk's profile photo
4 comments
Add a comment...