comparison src/especialize.sml @ 1817:148203744882

Tweaking treatment of function application: substitute or introduce a 'let'?
author Adam Chlipala <adam@chlipala.net>
date Sun, 05 Aug 2012 14:55:28 -0400
parents d12192c7aa3e
children e15234fbb163
comparison
equal deleted inserted replaced
1816:ae8b0e05522a 1817:148203744882
122 122
123 fun default (_, x, st) = (x, st) 123 fun default (_, x, st) = (x, st)
124 124
125 val functionInside = U.Con.exists {kind = fn _ => false, 125 val functionInside = U.Con.exists {kind = fn _ => false,
126 con = fn TFun _ => true 126 con = fn TFun _ => true
127 | TCFun _ => true
127 | CFfi ("Basis", "transaction") => true 128 | CFfi ("Basis", "transaction") => true
128 | CFfi ("Basis", "eq") => true 129 | CFfi ("Basis", "eq") => true
129 | CFfi ("Basis", "num") => true 130 | CFfi ("Basis", "num") => true
130 | CFfi ("Basis", "ord") => true 131 | CFfi ("Basis", "ord") => true
131 | CFfi ("Basis", "show") => true 132 | CFfi ("Basis", "show") => true