Cool, BasicPrelude solves my problem perfectly!
On Thu, Aug 8, 2013 at 7:04 AM, David McBride wrote:
> I've started using BasicPrelude with -XNoImplicitPrelude in all of my
> code. It imports all of those and some other stuff as well (text related
> functions). Cuts down on my imports by a l
On 09/08/13 16:35, Hamish Mackenzie wrote:
You will need Leksah 0.13 for GHC 7.6.3 and it is not in Hackage yet.
It is almost ready though. If run
git clone https://github.com/leksah/leksah.git
cd leksah
cabal install cabal-meta cabal-src
cabal-meta install
It would be interesting to know if
On Fri, Aug 9, 2013 at 10:44 PM, Jerzy Karczmarczuk <
jerzy.karczmarc...@unicaen.fr> wrote:
> I decided to reread some philosophical texts, and I suggest one for your
> evening reading.
>
> "Indiscrete Thoughts" by Gian-Carlo Rota, published by Birkhäuser in 1997.
> Available on the Web.
>
I'm ra
On Fri, Aug 9, 2013 at 5:44 PM, Jerzy Karczmarczuk <
jerzy.karczmarc...@unicaen.fr> wrote:
> I have the impression that a nice part of our dispute comes from the fact
> that despite our ambitions, and a decent /technical/ level of understanding
> of what we are talking about, most of us are (and I
I have the impression that a nice part of our dispute comes from the
fact that despite our ambitions, and a decent /technical/ level of
understanding of what we are talking about, most of us are (and I am one
of the worst...) --
-- pitiful philosophers...
Really bad...
Confusing the contents
Hi Michael,
On 09/08/13 08:21, Michael Oswald wrote:
> Hello,
>
> I am currently writing an application which draws the structure of some
> packets with help of the diagrams library directly to a GTK GUI.
>
> Now the packets can have several hundreds of parameters which have to be
> drawn so it
On 2013-08-09 17:28, Frerich Raabe wrote:
On 2013-08-09 17:04, Joerg Fritsch wrote:
for 0 <= i < row dimension of A
for 0 <= j < column dimension of B
for 0 <= k < column dimension of A = row dimension of B
sum += (read A (i,k))* (read B(k,j))
[..]
-- This is one way to write your p
On 2013-08-09 17:04, Joerg Fritsch wrote:
I would need some help to get to a reasonable function involving the
DB read, addition and multiplication.
for 0 <= i < row dimension of A
for 0 <= j < column dimension of B
for 0 <= k < column dimension of A = row dimension of B
sum += (read
Hello cafe,
I'm very happy to announce the release of hi, a Haskell project generator.
http://hackage.haskell.org/package/hi
This application will generate a scaffold for new Haskell project with
given command line argument(or value in configuration file), using git
repository as a template.
If
I would need some help to get to a reasonable function involving the DB
read, addition and multiplication.
for 0 <= i < row dimension of A
for 0 <= j < column dimension of B
for 0 <= k < column dimension of A = row dimension of B
sum += (read A (i,k))* (re
On Thu, Aug 8, 2013 at 7:40 AM, Timon Gehr wrote:
> You make the distinction between "evaluate",
>>
>
> Which essentially means applying reduction rules to an expression until
> the result is a value.
>
> and "execute" or "run", etc. This is not functional.
>>
>
> How would you know?
>
I thin
Wouldn't the implementation hiding feature of the *newtype *idiom be
broken, if field selectors were not first class functions? For instance,
the following code (taken shamelessly from Ch. 10 of *Real World Haskell*):
module Parse (
runParser
) where
data ParseState = ParseState {
string
On Fri, Aug 09, 2013 at 12:53:56PM +0200, Gergely Risko wrote:
> In the last 2-3 weeks I've been working on Haskell indentation inside
> Emacs. I had some annoyances for a long time and fixed some of them.
>
> The new mode is called hi2, it's heavily based on the current
> haskell-indentation (pa
Hi,
In the last 2-3 weeks I've been working on Haskell indentation inside
Emacs. I had some annoyances for a long time and fixed some of them.
The new mode is called hi2, it's heavily based on the current
haskell-indentation (part of haskell-mode). The changes are mainly to
the UI, although, I
You may also want to check out this freshly-minted page on the wiki:
http://ghc.haskell.org/trac/ghc/wiki/Newcomers
Every now and again, someone asks exactly the same question that you
did, so I've created that page to help answer it. I hope you find it
useful.
Happy hacking!
Richard
On 201
Thank you!
--
Jose Antonio Lopes
Ganeti Engineering
Google Germany GmbH
Dienerstr. 12, 80331, München
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Steuernummer: 48/725/00206
Umsatzsteueridentifikationsnumme
The Template Haskell quotation monad (Q) has proper support for fail:
module A where
import Language.Haskell.TH
foo :: Q Exp
foo = fail "Custom compile error!"
and
module B where
import A
main :: IO ()
main = print $foo
gives
B.hs:6:14:
Custom co
Hi,
In Template Haskell, what is the proper way of signalling an error ?
For example, you are generating code and you detect that a given
parameter does not fulfill a precondition (e.g., String is empty), and
you want to abort compilation with a descriptive error message.
Thanks,
Jose
--
Jose
For those who want to be productive rather than talkative masoquists (thus
said with all my love ;)), there are windows installers for Leksah and they
work perfectly well.
2013/8/9 David Virebayre
> Hi,
>
> If you go the EclipseFP approach, you may have installations troubles
> too. In my case
Hello,
I am currently writing an application which draws the structure of some
packets with help of the diagrams library directly to a GTK GUI.
Now the packets can have several hundreds of parameters which have to be
drawn so it takes some seconds to calculate the diagram itself. Of
course t
20 matches
Mail list logo