Joshua Chia

Results 45 issues of Joshua Chia

The following table definition in Schema.hs is not recognized by IHP: ``` CREATE TABLE posts ( id UUID DEFAULT uuid_generate_v4() PRIMARY KEY NOT NULL, title TEXT NOT NULL, body TEXT...

Suppose I want to make an SqlType instance for my own data type that can be represented as a value in an SQL column. E.g. I want to represent integers...

What about using Cabal to do the parsing?

enhancement

I just realized that `decimal` does not check for out-of-range values. https://hackage.haskell.org/package/attoparsec-0.14.4/docs/src/Data.Attoparsec.ByteString.Char8.html#decimal ``` ghci> parseOnly (decimal @Word16) "65536" Right 0 ``` This was surprising to me, but only before considering...

Although `#pragma pack` is not part of the C standard, the most popular compilers support it. Can we make c2hs also recognize it and process it properly so that structs...

Trying to c2hs the following Foo.chs fails with "The phrase '.' is not allowed here." I want to get back 10. Replacing #sizeof with #offsetof causes c2hs to succeed. I...

`NodeMap` only allows insertion of nodes with automatic duplicate prevention. It does not support checking whether a node exists or reporting whether `mkNode` actually created a new node, though this...

Please make a new Hackage release. There has been quite a bit of changes since the last release.

Is there a way to distinguish between integers and natural numbers when dumping? E.g. if I dump 4, it shows up as '4' instead of '+4' and that does not...

bug
help wanted
rust