summaryrefslogtreecommitdiff
path: root/libs/util.ml
blob: 17c1ad49850c027627a171258b18ea155da69921 (plain) (blame)
1
2
3
4
5
6
7
8
9
exception TypeError

module VarMap = Mapext.Make(String)

let rec fix f s =
  let fs = f s in
  if fs = s
    then fs
    else fix f fs