-
Alternative QQ for defining database, parsing pure DDL.
```sql
[fromDLL|
CREATE TABLE user
(
student_id INT,
);
|]
```
-
One of the more frequent pain points I've experienced when working with `postgresql-simple` has been matching a Haskell `n`-tuple to `n` question marks in a `[sql| ... |]` quasiquotation, especially a…
akrmn updated
4 months ago
-
So lenses currently suck a bit for constructing record values from scratch because you get no compile-time verification that all fields are set, which leaves unset fields as bottoms.
Currently the be…
-
Someone asked me about it. Good idea or not?
-
I like `circle($fn=6)`, but I don't see it in [the haskell api](https://hackage.haskell.org/package/implicit-0.4.1.0/docs/Graphics-Implicit-Primitives.html#v:circle). While it is possible to encode su…
-
TH doesn't support types with nonlinear or multiplicity-polymorphic fields, which leaves users to do everything by hand for these types, using the (in progress) type
```haskell
data MP1 :: forall …
-
It would be really handy if you could interpolate values in the `yamlQQ` quasiquoter using `#{...}` notation, just like how [aeson-qq](https://github.com/sol/aeson-qq#readme) provides this for JSON.
-
Unterminated interpolation is not detected and reported:
```
[str|sudo #{nixDefaultProfile/bin/usermod
-p '*' #{loginId}|]
```
The above le…
-
-
The basic quasi-quoter is in place now, just import `Nix.TH`, turn on `QuasiQuotes` and `TemplateHaskell`, and then use `[nix| 2 + 3|]`, which will parse that text into a value of type `NExpr`, exactl…