diff options
| author | hallgren <hallgren@chalmers.se> | 2011-10-20 14:19:33 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2011-10-20 14:19:33 +0000 |
| commit | ef4fac9d829a354c0d1e4182a317b320328e9d7c (patch) | |
| tree | 12670901fe04118c11dabefa71c578213da4e026 /src/compiler/GF/Compile | |
| parent | d8d60adb15f6dc4f107e006c3bb6338f32eb7fa9 (diff) | |
Compute/ConcreteLazy.hs: no need to reverse when looking up labels in records
Diffstat (limited to 'src/compiler/GF/Compile')
| -rw-r--r-- | src/compiler/GF/Compile/Compute/ConcreteLazy.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Compile/Compute/ConcreteLazy.hs b/src/compiler/GF/Compile/Compute/ConcreteLazy.hs index 492ffdd83..91fffbc5a 100644 --- a/src/compiler/GF/Compile/Compute/ConcreteLazy.hs +++ b/src/compiler/GF/Compile/Compute/ConcreteLazy.hs @@ -251,7 +251,7 @@ computeTermOpt gr = comput True where where --{...}.l project l = maybe (fail_project l) (comp g) . try_project l - try_project l = fmap snd . lookup l . reverse + try_project l = fmap snd . lookup l fail_project l = fail (render (text "no value for label" <+> ppLabel l)) compApp g (App f a) = do -- (f a) |
