Michael Sloan
Michael Sloan
I'm in favor of adding and documenting such an instance. Adding this newtype would be a fine alternative as well. Also, credit where credit is due: I believe it was...
It is possible to write an instance for `Maybe` which ensures its argument is not `Maybe`: https://github.com/ghcjs/ghcjs-base/pull/34/commits/6bf43075849fdd551f04a5b9d8a36e4d769e6fc2#diff-e09b67a14d374b52d6408c4ebcb9b630R7 . There, I'm using closed type families, but I've just realized associated types...
@winterland1989 Have you seen the [store](https://github.com/fpco/store) library? It is highly optimized. I would be very surprised to see any circumstances where binary-parsers is faster.
You could certainly provide those combinators by constructing a monad atop the `Poke` and `Peek` monads. No need to re-invent the full stack of binary serialization. I have plans to...
Cool, seems reasonable, @winterland1989 ! I think `Peek` being built around `IO` is fine. That's what it takes to do raw memory access. We can safely wrap in an `unsafePerformIO`....
Good point! I've opened https://github.com/fpco/store/issues/76 about it. You only can do that if you import `Data.Store.Core`, which should be unusual for most users of `Store` - you don't usually directly...
I get the same issue with a bluetooth headset. Thanks for mentioning that it works with bluetoothctl. Going to just automate driving that from a script..
Yeah, I recently moved off of spacemacs to a custom config, assuming that the slowness I was experiencing was due to throwing so much different stuff together in a bit...
@jm4games The reason for this is that I am potentially reverting some partial safety measures in https://github.com/fpco/store/pull/123 . The problem is that there is a tradeoff between performance and dealing...
As proposed here, the migration would only require you to add a bit of boilerplate per instance ``` instance Store Thing where ... ``` would become ``` instance Store t...