タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

Lensと正規表現に関するigrepのブックマーク (3)

  • Optics + Regex: Greater than the sum of their parts

    The library presented in this post is one of many steps towards getting everyone interested in the amazing world of Optics! If you're at all interested in learning their ins & outs; check out the comprehensive book I'm writing on the topic: Optics By Example Regardless of the programming language, regular expressions have always been a core tool in the programmer's toolbox. Though some have a dist

    Optics + Regex: Greater than the sum of their parts
  • GitHub - ChrisPenner/lens-regex-pcre: Text lenses using PCRE regexes

    Caveat: I'm by no means a benchmarking expert; if you have tips on how to do this better I'm all ears! Search lens-regex-pcre is marginally slower than pcre-heavy, but well within acceptable margins (within 0.6%) Replace lens-regex-pcre beats pcre-heavy by ~10% Modify pcre-heavy doesn't support this operation at all, so I guess lens-regex-pcre wins here :) How can it possibly be faster if it's bas

    GitHub - ChrisPenner/lens-regex-pcre: Text lenses using PCRE regexes
  • lens-regex で正規表現を便利に - Qiita

    寝るまでは今日! UTC ではまだ 11 日! なお当初の予定では travis-ci で stack を使うと便利みたいな話を書こうと思っていましたが、thimura は寝てしまったのでお蔵入しました。 Haskell で正規表現 みなさんは Haskell で正規表現を使っていますか? Haskell を使い始めた頃は、他のプログラム言語では正規表現に親しんでいることもあって正規表現を使おうとする場合が多い気がします。でも、ある程度 Haskell に慣れてくると、パーサーコンビネータの方が便利とか言い出して、あまり積極的には使わなくなる人が多いのではないでしょうか。 加えて、Haskell の正規表現の演算子 =~ は返り値によるオーバーロードをしていて、普通にプログラムの中で使う分には返り値の型が推論されるのであまり問題ありませんが、ghci を電卓代わりに使う人たちにとっては、い

    lens-regex で正規表現を便利に - Qiita
    igrep
    igrep 2015/12/13
    やっぱlensイケてるなぁ。
  • 1