[Haskell-cafe] Problem with linker

2011-06-03 Thread Alejandro Serrano Mena
Hi, I'm trying to use Hoogle as a library in my Summer of Code project. But when I try to compile using Cabal, I get the following error: Linking dist/build/scion-browser/scion-browser ... /home/serras/.cabal/lib/hoogle-4.2.4/ghc-7.0.2/libHShoogle-4.2.4.a(Serialise.o): In function `s1ePR_info':

Re: [Haskell-cafe] Problem with linker

2011-06-04 Thread Alejandro Serrano Mena
No, it does not report any problem. 2011/6/4 Clint Moore cl...@ivy.io On Sat, Jun 04, 2011 at 01:17:03AM +0200, Alejandro Serrano Mena wrote: Hi, I'm trying to use Hoogle as a library in my Summer of Code project. But when I try to compile using Cabal, I get the following error

Re: [Haskell-cafe] Problem with linker

2011-06-04 Thread Alejandro Serrano Mena
, 2011 at 4:17 PM, Alejandro Serrano Mena trup...@gmail.com wrote: I've been looking for some information and it seems to be related with the fact that Hoogle first builds a library and then build an executable using the library, but all files get recompiled in that second pass

Re: [Haskell-cafe] Text.CSV questions

2011-06-20 Thread Alejandro Serrano Mena
Maybe you can directly distinguish if the parser returned an error (Left) or not (Right), instead of using lefts and rights: import Text.CSV import Data.Either import System import Data.List main = do [inpFileName] - getArgs putStrLn (Parsing ++inpFileName++...) result -

Re: [Haskell-cafe] Why the reluctance to introduce the Functor requirement on Monad?

2011-07-26 Thread Alejandro Serrano Mena
I'll give my two cents about some design I've been thinking about. Instead of trying to derive all instances automatically, the programmer should explicitly tell them (so the problems about conflicting implementations would be minimised). I attach a piece of code of what I think could be done:

Re: [Haskell-cafe] ANN: EclipseFP 2.1.0 released

2011-09-03 Thread Alejandro Serrano Mena
Sorry, there was an error in the installation instructions. You need to download a version of Eclipse with Java support (Eclipse for Java developers, Eclipse for Java EE developers or Eclipse Classic). If you find any other error, you can report it in the mailing list at

Re: [Haskell-cafe] Fwd: problem with cabal install MissingH-1.1.1.0

2011-09-23 Thread Alejandro Serrano Mena
There are for sure people who know better Haskell on Mac than me. When I made tests for EclipseFP, I just used the latest Haskell Platform release containing GHC 7.0.3 and it worked fine. Maybe the best thing you can do is start all over again using Haskell platform, if you don't need any new

Re: [Haskell-cafe] A Mascot

2011-11-22 Thread Alejandro Serrano Mena
I really love the idea of Haskell having a mascot, and Da the Lamb seems a perfect one to me. 2011/11/22 heathmatlock heathmatl...@gmail.com I goofed on a few images, but I'm a bit tired to correct them at the moment. Also, I'll upload higher res images another time, they don't look terrible

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-23 Thread Alejandro Serrano Mena
Yes 2011/11/23 heathmatlock heathmatl...@gmail.com On Wed, Nov 23, 2011 at 1:40 PM, Alexander Bernauer alex-hask...@copton.net wrote: Yes PS: Why not using Doodle for the poll? Email is an easy way to make sure nobody votes twice. -- Heath Matlock +1 256 274 4225

Re: [Haskell-cafe] Module name space question

2011-12-12 Thread Alejandro Serrano Mena
You can try the Haskell Browser in the Eclipse plug-in. 2011/12/12 wren ng thornton w...@freegeek.org On 12/12/11 9:32 AM, Ryan Newton wrote: I don't know why Hoogle didn't find one of the packages. I've often wondered about this related question: * Is there a place to browse the union

Re: [Haskell-cafe] [haskell-cafe] Some reflections on Haskell

2012-02-14 Thread Alejandro Serrano Mena
Hi, 2012/2/14 Doug McIlroy d...@cs.dartmouth.edu Kevin Jardine notices the full Haskell ecosystem ... is huge, and laments the absence of a sophisticated IDE to help manage it. Being a small-code type, I don't personally enjoy IDE's, which are undeniably useful in big projects, at the cost

[Haskell-cafe] Summer of Code idea: Haskell Web Toolkit

2012-03-06 Thread Alejandro Serrano Mena
Hi, I'm really looking forward to helping in the Summer of Code, if Haskell goes into it this year (something I take for granted :). I would like to propose an idea for a project, and I'm looking for suggestions about whether it's good, should be improved or it's just unfeasible. My idea is to

Re: [Haskell-cafe] Summer of Code idea: Haskell Web Toolkit

2012-03-06 Thread Alejandro Serrano Mena
, 2012 at 11:40 PM, Alejandro Serrano Mena trup...@gmail.com wrote: Hi, I'm really looking forward to helping in the Summer of Code, if Haskell goes into it this year (something I take for granted :). I would like to propose an idea for a project, and I'm looking for suggestions about

Re: [Haskell-cafe] Summer of Code idea: Haskell Web Toolkit

2012-03-07 Thread Alejandro Serrano Mena
I agree with you that maybe this proposal is vague for a GSoC, but I don't think that websockets is a good option either, because not all browsers support them. Indeed, web development has gone a long way without contant communication with the server and I think Haskell should support this way of

Re: [Haskell-cafe] Summer of Code idea: Haskell Web Toolkit

2012-03-11 Thread Alejandro Serrano Mena
That sound like a really cool project. Where could I get more information about what could I do? You mention about contacting but I think it's better to keep the discussion open for everybody. Alejandro 2012/3/11 Jurriƫn Stutterheim j.stutterh...@me.com While I might be a bit biased (I spent a

Re: [Haskell-cafe] specifying using type class

2012-07-23 Thread Alejandro Serrano Mena
I don't know whether this is really applicable but: isn't emptyStack in Ertugrul last message some kind of constructor? You can add any kind of special constructors as functions in the type class which return a new queue. For example: class Stack s where newEmptyStack :: s a newSingletonStack

Re: [Haskell-cafe] specifying using type class

2012-07-23 Thread Alejandro Serrano Mena
= True -- isEmpty (insertC1 newC1 a) = False On 23/07/12, *Alejandro Serrano Mena * trup...@gmail.com wrote: I don't know whether this is really applicable but: isn't emptyStack in Ertugrul last message some kind of constructor? You can add any kind of special constructors as functions

Re: [Haskell-cafe] How to take a minimum sub list that only contain certain number of elements of certain type?

2012-09-25 Thread Alejandro Serrano Mena
It also comes to my mind that you can use something similar to regular expressions and parsing, seeing your list as a word made of Int elements. I think you can achieve it using Parsec or attoparsec. One you define your basic combinators for 'odd', you can see your sublist as the minimal part of

Re: [Haskell-cafe] [Announcement] HsLlvm v0.1: Using Hoopl to optimize LLVM Code

2013-02-11 Thread Alejandro Serrano Mena
Hi, This seems a fantastic job! Do you have any plan to support LLVM - target phase, or do you know any project doing something similar? Thanks in advance. 2013/2/11 Ning Wang em...@ningwang.org Hi all, It is my dream for years to be able to manipulate LLVM in type safe language. I has

[Haskell-cafe] Haskell / Functional Programmers Group in Madrid (Spain)?

2013-04-10 Thread Alejandro Serrano Mena
Hi, Is there any Haskell or functional programmers user group in the region of Madrid? If not, I think it could be a great idea to get to know each other, and share experiences. Furthermore, we could try to organize some meetings with presentations, hackatons and so on (my personal ambition is to

[Haskell-cafe] Contravariant applicatives, monads and arrows (was ANN: rematch, an library for composable assertions with human readable failure messages)

2013-04-16 Thread Alejandro Serrano Mena
Hi, First of all, let me say that this work on matchers is really useful :) Following Roman advice, I'm trying to find a more principled approach that could be useful for this library. It seems that Match could easily be converted to Either and thus made into Functor, Applicative, Alternative and

Re: [Haskell-cafe] list comprehension doesn't work

2013-05-14 Thread Alejandro Serrano Mena
For a first sight, you cannot use x - [0..]*[0..] to mean 'all possible pairs x = a*b'. You would need to do something like [ (a*b, y) | a - [0..], b - [0..], a*b 5, a*b 500, and the rest of things ] 2013/5/14 John knowledge1...@gmail.com Hi, I have to write a function which returns a list

Re: [Haskell-cafe] Teaching FP with Haskell

2013-05-21 Thread Alejandro Serrano Mena
Maybe you could look at Helium [ http://www.cs.uu.nl/wiki/bin/view/Helium/WebHome]. From what I understand, it's a subset of Haskell specially designed for teaching. I heard that it provides also very good error messages and hints about typical errors. 2013/5/21 Rustom Mody rustompm...@gmail.com

Re: [Haskell-cafe] Job opportunities at Galois

2013-06-27 Thread Alejandro Serrano Mena
Hello, Are there any specific details to consider when applying? For example, is living in the US or having a visa required for application? Thanks in advance. 2013/6/27 Iavor Diatchki iavor.diatc...@gmail.com Hello, Galois is hiring! We're looking for researchers, principal investigators,

[Haskell-cafe] Tutorial on JS with Haskell: Fay or GHCJS?

2013-09-04 Thread Alejandro Serrano Mena
Hi, I'm currently writing a tutorial on web applications using Haskell. I know the pros and cons of each server-side library (Yesod, Snap, Scotty, Warp, Happstack), but I'm looking for the right choice for client-side programming that converts Haskell to JavaScript. I've finally come to Fay vs.

Re: [Haskell-cafe] Tutorial on JS with Haskell: Fay or GHCJS?

2013-09-04 Thread Alejandro Serrano Mena
, Alejandro Serrano Mena wrote: Hi, I'm currently writing a tutorial on web applications using Haskell. I know the pros and cons of each server-side library (Yesod, Snap, Scotty, Warp, Happstack), but I'm looking for the right choice for client-side programming that converts Haskell to JavaScript

Re: [Haskell-cafe] GHC API + Cabal API + Cabal version checks: is there a way out?

2013-09-06 Thread Alejandro Serrano Mena
I'm willing to help in the process, if some directions were given to me on how to tackle this problem. In any case, for me is seems fine to have a dependency from cabal to ghc, the only problem is the converse: ghc depending on cabal. Is this right? 2013/9/6 Herbert Valerio Riedel h...@gnu.org

Re: [Haskell-cafe] resources on static analysis

2013-09-10 Thread Alejandro Serrano Mena
If you are interested in general program analysis, I recommend you the book Principles of Program Analysis ] http://www.amazon.com/Principles-Program-Analysis-Flemming-Nielson/dp/3540654100]. It's very complete, and covers the most important kind of analyses that you can do (data-flow,

Re: [Haskell-cafe] future (editor) of HCAR?

2013-09-18 Thread Alejandro Serrano Mena
I would be delighted to take the full responsibility (or just help) in the HCAR. I have some ideas, maybe I could get some time later to write them down. 2013/9/18 Janis Voigtlaender j...@informatik.uni-bonn.de Dear all, The Haskell Communities and Activities Report has been produced twice a

[Haskell-cafe] Which builder to choose?

2013-09-20 Thread Alejandro Serrano Mena
Hi, I'm looking at the packages blaze-builder and bytestring, and both provide builders for ByteString. Which one should I use? In which situations is one more convenient than the other? Thanks for the help. ___ Haskell-Cafe mailing list