Changeset 2771 for src/Pugs/Bind.hs

Show
Ignore:
Timestamp:
05/06/05 15:07:18 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
4271
Message:

* remove Parens form as it is not used anymore

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Bind.hs

    r2725 r2771  
    130130 
    131131    let unboundOptPrms = optPrms \\ (map fst boundOpt) -- unbound optParams are allPrms - boundPrms 
    132         optPrmsDefaults = map paramDefault $ unboundOptPrms -- get a list of default values 
    133         boundDefOpts = unboundOptPrms `zip` (map Parens optPrmsDefaults) -- turn into exprs, so that +$y = $x will work 
     132        optPrmsDefaults = [ Syn "default" [paramDefault prm] | prm <- unboundOptPrms ] -- get a list of default values 
     133        boundDefOpts = unboundOptPrms `zip` optPrmsDefaults -- turn into exprs, so that +$y = $x will work 
    134134         
    135135    return sub {