Skip to content

Commit

Permalink
Update todo.md
Browse files Browse the repository at this point in the history
  • Loading branch information
snowleopard authored Mar 6, 2019
1 parent 481ca60 commit 19f1c97
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion paper/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,19 @@

## Alternative formulations

* @LSLeary: https://www.reddit.com/r/haskell/comments/axje88/selective_applicative_functors/ehwo9qn/
* @LSLeary: https://www.reddit.com/r/haskell/comments/axje88/selective_applicative_functors/ehwo9qn/.

> An equivalent formulation `select :: f (Either (a -> b) b) -> f a -> f b` leads to a pretty encoding.
## Towards monadic bind

* @sclv: https://www.reddit.com/r/haskell/comments/axje88/selective_applicative_functors/ehw5x6l/

> one could actually use `unsafePerformIO` to very unsafely actually get the binary representation
> of the thunk, and "read it out" byte by byte, then based on branching on that, only enter actual
> "proper" value. (i.e. since we're inside a machine, we actually only have finitary representations,
> even if our data structures "look" infinite -- this is actually a form of "Skolem's Paradox"!).
> (The idea of this bitwise testing thing is inspired by some of the tricks used in the classic
> "Implicit Configurations" paper: http://okmij.org/ftp/Haskell/tr-15-04.pdf)
> So in "real" terms, bind is by a series of dirty hacks, fully recoverable from select.

0 comments on commit 19f1c97

Please sign in to comment.