wz1000

Results 148 comments of wz1000

A simple way to do this for a fixed, rarely changing definition of TenantStatus is ``` data TenantStatus = Active | Inactive data Tenant (s :: TenantStatus) = T {name...

@saurabhnanda ``` loadTenant :: TenantID -> Tenant status ``` cannot work because it desugars to ``` loadTenant :: forall status. TenantID -> Tenant status ``` so `loadTenant ` can be...

@BartAdv I mean without an explicit `data` declaration.

@BartAdv Try it. GHC would complain about not supporting impredicative types or something like that.

> Can Persistent automatically create FK constraints in the schema? Yes.

I believe with a little work you can make Servant automatically pass these around for you as arguments to the handlers that require them.

`HIE_BIOS_GHC_PATH` will also unblock #265

Can't we read `PATH` from the environment in the cabal wrapper program?

https://github.com/haskell/haskell-language-server/tree/master/ghcide#limitations-to-multi-component-support

This doesn't quite work because it turns out that we advertise capabilities even when all plugins that could provide support for a method are disabled, because we construct the map...