All Questions
3 questions
2
votes
2
answers
466
views
Filtering a data structure using regex predicates
Assume we have a data-structure like this:
...
3
votes
1
answer
443
views
Implementation of Python's re.split in Clojure (with capturing parentheses)
If you use capturing parenthesis in the regular expression pattern in Python's re.split() function, it will include the matching groups in the result (Python's ...
2
votes
1
answer
271
views
Clojure code adapted from map-invert
I wanted to do the following:
Count the frequencies of words in a text (over 5 letters)
Invert the map of words to frequencies, but group together words that have the same frequency in the inversion.
...