You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CPT do not allow for conditions that are certainly unfeasible. Examples:
lea> a = ?('x','y')
lea> ?! (a==a -> 's',
... _ -> 't')
Lea error: forbidden to define 'other' clause for complete clause set
lea> ?! (a!=a -> 's',
... _ -> 't')
Lea error: some clause condition is not feasible
Even if such conditions are not usual, it should be more sensible to accept
them and produce expected results (e.g. 's' with probability 1 in first case,
't' with probability 1 in second case). See treatment of if-then-else in
programming languages.
Original issue reported on code.google.com by pde@n-side.com on 16 Mar 2015 at 10:28
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
pde@n-side.com
on 16 Mar 2015 at 10:28The text was updated successfully, but these errors were encountered: