Jacqueline Firth
Jacqueline Firth
This is something I implemented in my `ease` package: ``` racket > (lens-fragment first-lens '(1 foo bar) '(10 20 30)) '((10 foo bar) (20 foo bar) (30 foo bar)) ```...
Sometimes it's handy to break the lens laws, just a little bit. Specifically, it might be useful to have a lens that is allowed to "miss" its target, for which...
Initially a module `unstable/lens/base` should expose the core. This core should provide only what is necessary to define the remainder of the lens library. In particular, the lens composition forms...
``` > (struct posn (x y) #:prefab) > (define posn->string-lens (prefab-struct-isomorphism-lens posn)) > (lens-view posn->string-lens (posn 1 2)) "#s(posn 1 2)" > (lens-set posn->string-lens (posn 1 2) "#s(posn 0 0)")...
Using sweet expressions helps with the syntax, but providing rules for ordering them helps too. Some possible ordering rules, in order of importance: 1. Normal imports before `for-syntax` / `for-template`...
It should be easy to convert a hash to a set of key-value pairs. Note that it should create a _set_, not a _list_, because a list would introduce ordering...
See [the log](http://pkg-build.racket-lang.org/server/built/test-fail/pfds.txt) for details. Seems to be the performance tests. Adding a `config` submodule providing a larger `timeout` ought to work, or make the default settings for the perf...
Just touching this file to get Resyntax to analyze it so I can debug why it didn't review #1282 properly.