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 a
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), but now the annotation (and other annotations
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
insta
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
To: m
Cafe
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 have c
ul 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
creat
> IO String
getC_IO p =
case getC p of
IOS a -> a
getC_IO (P _ _ (IOS a)) = a
Original Message
Subject: Re: [Haskell-cafe] "Casting" newtype to base type?
From: Malcolm Wallace
To: vlatko.ba...@gmail.com
Cc: Haskell-Cafe
Date: 01.07.2013 17:24
On 1 Jul 2
Original Message
Subject: Re: [Haskell-cafe] "Casting" newtype to base type?
From: Tom Ellis
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 to extract the 'IO St
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 =
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 ==, <, >
..., and I'm try
11, 2013 at 2:11 PM, Vlatko Basic <vlatko.ba...@gmail.com>
wrote:
The problem here isn't quite what you think
it is; (==) is not a
11, 2013 at 2:58 PM, Vlatko Basic <vlatko.ba...@gmail.com>
Cheplyaka
To: Vlatko Basic
Cc: Haskell-Cafe
Date: 11.07.2013 20:10
* Vlatko Basic [2013-07-11 19:33:38+0200]
Hello Cafe,
I have
data CmpFunction a = CF (a -> a -> Bool)
that contains comparing functions, like ==, <, > ..., and I'm trying
to declare the Sho
Hello Cafe,
I have this HTML structure:
...
...
Caption
Want this
And this
Another caption
Yet another caption
...
...
I'd like to extract A texts from row with
de the arrow by pairing the list items?)
Something like:
hasName "a" /> getText &&& (getNextItem??? >>> getText)
I assume not, but I'm still new to Haskell and would like to check.
br,
vlatko
Original Message ----
Subject: Re: [Haskell-
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,
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 upgrading at
urces list.
--- 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 wondering why the
itory
From: Simon Hengel
To: Vlatko Basic
Cc: Lizanets Danylo , 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 are not
maintained.
12.04 is an LTS for 5 years,
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
___
Haske
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 out for
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
22 matches
Mail list logo