takikawa / tr-pfds

Typed Racket data structure libraries
58 stars 13 forks source link

Possible bug: (list null null) #8

Open bennn opened 7 years ago

bennn commented 7 years ago

pfds/trie uses the pattern (list null null). https://github.com/takikawa/tr-pfds/blob/master/pfds/trie.rkt#L81

@philnguyen points out that null is a variable here, and not the empty list. https://github.com/philnguyen/soft-contract/issues/88#event-1111070182

If "a list of two equal elements" is the intended pattern, please use a better variable name!