[Haskell-cafe] Connection to database

2012-04-16 Thread yrazes
Hi guys, I was trying to get a connection MySql Haskell and I followed this steps: 1. install cabal-install install libghc-haskelldb-hdbc-dev (headers del haskell y hdbc) install libmysqlclient-dev (headers del mysqlclient) 2. git clone git://github.com/bos/hdbc-mysql.git 3.

Re: [Haskell-cafe] Connection to database

2012-04-16 Thread yrazes
[] forM_ rows $ \row - putStrLn $ show row __- On Mon, Apr 16, 2012 at 8:27 PM, Brandon Allbery allber...@gmail.comwrote: On Mon, Apr 16, 2012 at 18:14, yrazes yra...@gmail.com wrote: 3. julita@yulys:~/hdbc-mysql$ ls

[Haskell-cafe] Quicksort in Haskell

2011-11-07 Thread yrazes
module Main (main) where quicksort [] = [] quicksort (s:xs) = quicksort [x|x - xs,x s] ++ [s] ++ quicksort [x|x - xs,x = s] main = putStr Ingrese la lista\n [xs] - getLine ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Quicksort in Haskell

2011-11-07 Thread yrazes
: What is your question? On Mon, Nov 7, 2011 at 9:45 AM, yrazes yra...@gmail.com wrote: module Main (main) where quicksort [] = [] quicksort (s:xs) = quicksort [x|x - xs,x s] ++ [s] ++ quicksort [x|x - xs,x = s] main = putStr Ingrese la lista\n [xs] - getLine

Re: [Haskell-cafe] Haskell-Cafe Digest, Vol 99, Issue 9

2011-11-04 Thread yrazes
Thank you so much Ivan!!! main :: IO ( ) main = let a = 8 b = 3 c = 15 in print(b / a * c) This code works!!! :) Julita On Fri, Nov 4, 2011 at 12:53 AM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 4 November 2011 16:21, yrazes yra

[Haskell-cafe] Comparison Haskell, Java, C and LISP

2011-10-18 Thread yrazes
Hi, Maybe you remember my case. I was trying to compare some aspects of these languages. Well... I found that I can compare reflection, support for generics, simplicity and safe code. I just want to ask if you have more information for reflection in Haskell. I read that there is no enough for

Re: [Haskell-cafe] Data structure

2011-09-01 Thread yrazes
for this purpose... I wan't so sure about the other languages. Julita On Thu, Sep 1, 2011 at 2:16 AM, Ketil Malde ke...@malde.org wrote: yrazes yra...@gmail.com writes: I want to compare data structure between Haskell, Java, Lisp and C. I am wondering if I could compare list comprehention

[Haskell-cafe] Data structure

2011-08-31 Thread yrazes
Hi guys, I want to compare data structure between Haskell, Java, Lisp and C. I am wondering if I could compare list comprehention in haskell with the vector class in Java, macros in common lisp and dynamic arrays in C. Thanks, Julita ___ Haskell-Cafe