Changeset 5464 for src/Pugs/Bind.hs

Show
Ignore:
Timestamp:
07/12/05 05:34:56 (3 years ago)
Author:
autrijus
svk:copy_cache_prev:
7349
Message:

* remove dead code in Bind.hs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Bind.hs

    r5450 r5464  
    142142 
    143143{-| 
    144 (Does this even get used? It seems to be a leftover fragment of  
    145 'doBindArray'...) 
    146 -} 
    147 bindEmpty :: Param -> MaybeError (Param, Exp) 
    148 bindEmpty p = case paramName p of 
    149     ('@':_) -> return (p, emptyArrayExp) 
    150     ('$':_) -> fail $ "Unbound slurpy scalar: " ++ show p 
    151     (x:_)   -> internalError $ "bindEmpty: unexpected char: " ++ (show x) 
    152     []      -> internalError $ "bindEmpty: empty string encountered" 
    153  
    154 {-| 
    155144Return @True@ if the given expression represents a pair (i.e. it uses the 
    156145\"=>\" pair constructor).