[Haskell-cafe] HTML framework for web-ui

2013-05-21 Thread Vlatko Basic
Hi, I'd like to start using web pages as the UI for apps. I found out for yesod, snapp and happstack as the candidates. Would you recommend any of them as better for app ui (not classical web pages)? Or maybe another one? thanks, vlatko ___

Re: [Haskell-cafe] HTML framework for web-ui

2013-05-21 Thread Vlatko Basic
you can find examples here: http://haskell-web.blogspot.com.es/ 2013/5/21 Vlatko Basic vlatko.ba...@gmail.com Hi, I'd like to start using web pages as the UI for apps. I found

Re: [Haskell-cafe] HTML framework for web-ui

2013-05-23 Thread Vlatko Basic
Hi Heinrich, Looks simple and interesting. I browsed the git, but not much docs yet. Just examples, or have I looked at wrong places? I see that API is still under heavy design. When do you expect the API might stabilize? (BTW, examples in Readme do not work.) vlatko Vlatko Basic wrote

[Haskell-cafe] Annotation problem after HP reinstalation

2013-06-26 Thread Vlatko Basic
I uninstalled haskell-platform, deleted .cabal and .ghc dirs and reinstalled it (on Ubuntu), but now the annotation (and other annotations) {-# ANN module HLint: ignore Eta reduce #-} produces error Ambiguous type variable `a0' in the constraints: (Data a0) arising from an annotation at

Re: [Haskell-cafe] Annotation problem after HP reinstalation

2013-06-26 Thread Vlatko Basic
[haskell-cafe-boun...@haskell.org] on behalf of Vlatko Basic [vlatko.ba...@gmail.com] Sent: Wednesday, June 26, 2013 11:05 AM Cc: Haskell-Cafe Subject: [Haskell-cafe] Annotation problem after HP reinstalation I uninstalled haskell-platform, deleted .cabal and .ghc dirs and reinstalled it (on Ubuntu

[Haskell-cafe] Casting newtype to base type?

2013-07-01 Thread Vlatko Basic
Hello Cafe! I had a (simplified) record data P = P { a :: String, b :: String, c :: IO String } deriving (Show, Eq) but to get automatic deriving of 'Show' and 'Eq' for 'data P' I have created 'newtype IOS' and its 'Show' and 'Eq' instances newtype IOS = IO String

[Haskell-cafe] Spam on list??

2013-07-01 Thread Vlatko Basic
Title: 인증페이지시안1 Anybody else getting this spam emails from j...@eukor.com every time a message is sent to Cafe? Original Message Subject: Re: [Haskell-cafe] "Casting" newtype to base type? From: j...@eukor.com j...@eukor.com

Re: [Haskell-cafe] Casting newtype to base type?

2013-07-01 Thread Vlatko Basic
: Haskell-Cafe haskell-cafe@haskell.org Date: 01.07.2013 17:24 On 1 Jul 2013, at 16:07, Vlatko Basic wrote: I had a (simplified) record data P = P { a :: String, b :: String, c :: IO String } deriving (Show, Eq) but to get automatic deriving of 'Show' and 'Eq' for 'data P' I

Re: [Haskell-cafe] Casting newtype to base type?

2013-07-01 Thread Vlatko Basic
17:24 On Mon, Jul 01, 2013 at 05:07:00PM +0200, Vlatko Basic wrote: Hello Cafe! I had a (simplified) record data P = P { a :: String, b :: String, c :: IO String } deriving (Show, Eq) but to get automatic deriving of 'Show' and 'Eq' for 'data P' I have created 'newtype

Re: [Haskell-cafe] Casting newtype to base type?

2013-07-02 Thread Vlatko Basic
, Vlatko Basic wrote: I had a (simplified) record data P = P { a :: String, b :: String, c :: IO String } deriving (Show, Eq) but to get automatic deriving of 'Show' and 'Eq' for 'data P' I have created 'newtype IOS' and its 'Show' and 'Eq' instances newtype IOS = IO String

Re: [Haskell-cafe] Casting newtype to base type?

2013-07-02 Thread Vlatko Basic
Original Message Subject: Re: [Haskell-cafe] Casting newtype to base type? From: Tom Ellis tom-lists-haskell-cafe-2...@jaguarpaw.co.uk To: haskell-cafe@haskell.org Date: 02.07.2013 15:25 On Tue, Jul 02, 2013 at 03:03:08PM +0200, Vlatko Basic wrote: Is there a nicer way

[Haskell-cafe] Comparing functions

2013-07-11 Thread Vlatko Basic
Hello Cafe, I have data CmpFunction a = CF (a - a - Bool) that contains comparing functions, like ==, , ..., and I'm trying to declare the Show instance for it like this instance Show (CmpFunction a) where show (CF (==)) = ==-- no good show f = case

Re: [Haskell-cafe] Comparing functions

2013-07-11 Thread Vlatko Basic
: 11.07.2013 19:50 On Thu, Jul 11, 2013 at 1:33 PM, Vlatko Basic vlatko.ba...@gmail.com wrote:     data CmpFunction a = CF (a - a - Bool) that contains comparing functions, like

Re: [Haskell-cafe] Comparing functions

2013-07-11 Thread Vlatko Basic
: 11.07.2013 20:45 On Thu, Jul 11, 2013 at 2:11 PM, Vlatko Basic vlatko.ba...@gmail.com wrote: The problem here isn't quite what you

Re: [Haskell-cafe] Comparing functions

2013-07-11 Thread Vlatko Basic
: 11.07.2013 21:03 On Thu, Jul 11, 2013 at 2:58 PM, Vlatko Basic vlatko.ba...@gmail.com wrote

Re: [Haskell-cafe] Comparing functions

2013-07-12 Thread Vlatko Basic
...@ro-che.info To: Vlatko Basic vlatko.ba...@gmail.com Cc: Haskell-Cafe haskell-cafe@haskell.org Date: 11.07.2013 20:10 * Vlatko Basic vlatko.ba...@gmail.com [2013-07-11 19:33:38+0200] Hello Cafe, I have data CmpFunction a = CF (a - a - Bool) that contains comparing functions, like

[Haskell-cafe] Problem with HXT `when`

2013-09-21 Thread Vlatko Basic
Hello Cafe, I have this HTML structure: ... table ... tr thCaption/th td a href=...Want this/a a href=...And this/a /td /tr tr thAnother caption/th td tr thYet another

Re: [Haskell-cafe] Problem with HXT `when`

2013-09-25 Thread Vlatko Basic
to Haskell and would like to check. br, vlatko Original Message Subject: Re: [Haskell-cafe] Problem with HXT `when` From: Albert Y. C. Lai tre...@vex.net To: haskell-cafe@haskell.org Date: 25.09.2013 03:22 On 13-09-21 05:13 AM, Vlatko Basic wrote: I'd like to extract

[Haskell-cafe] No upgrade of GHC version in Ubuntu repository

2013-10-14 Thread Vlatko Basic
Hi Caffe, deb packages of GHC (and Haskell Platform) in Ubuntu's (LTS Precise, 12.04) universe are not upgrading at all. GHC package is almost two years old, still on version 7.4.1, and GHC site still recommends to use Haskell Platform from repository. Even kernel is upgrading more often,

Re: [Haskell-cafe] No upgrade of GHC version in Ubuntu repository

2013-10-14 Thread Vlatko Basic
  --- Original message --- From: "Vlatko Basic" vlatko.ba...@gmail.com Date: 14 October 2013, 11:44:17 Hi Caffe, deb packages of GHC (and Haskell Platform) in Ubuntu's (LTS Precise, 12.04) "universe" are not u

Re: [Haskell-cafe] No upgrade of GHC version in Ubuntu repository

2013-10-14 Thread Vlatko Basic
. --- Original message --- From: "Vlatko Basic" vlatko.ba...@gmail.com Date: 14 October 2013, 13:28:21 Hi Danylo, I have 7.6.3 already, but I was won

Re: [Haskell-cafe] No upgrade of GHC version in Ubuntu repository

2013-10-14 Thread Vlatko Basic
From: Simon Hengel s...@typeful.net To: Vlatko Basic vlatko.ba...@gmail.com Cc: Lizanets Danylo iamwea...@ukr.net, haskell-cafe@haskell.org Date: 14.10.2013 15:33 Hi, On Mon, Oct 14, 2013 at 01:28:17PM +0200, Vlatko Basic wrote: I have 7.6.3 already, but I was wondering why the repository packages