Skip to content

Commit

Permalink
[project @ 1997-09-04 19:53:50 by sof]
Browse files Browse the repository at this point in the history
Removed assocMaybe SPECIALIZE pragma
  • Loading branch information
sof committed Sep 4, 1997
1 parent e376c9e commit 2a18077
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ghc/compiler/utils/Maybes.lhs
Expand Up @@ -28,9 +28,6 @@ module Maybes (
catMaybes
) where
CHK_Ubiq() -- debugging consistency check
import Unique (Unique) -- only for specialising
#if __GLASGOW_HASKELL__ >= 204
import Maybe( catMaybes, mapMaybe )
#endif
Expand Down Expand Up @@ -131,12 +128,6 @@ assocMaybe alist key
where
lookup [] = Nothing
lookup ((tv,ty):rest) = if key == tv then Just ty else lookup rest
{-# SPECIALIZE assocMaybe
:: [(FAST_STRING, b)] -> FAST_STRING -> Maybe b
, [(Int, b)] -> Int -> Maybe b
, [(Unique, b)] -> Unique -> Maybe b
#-}
\end{code}

@mkLookupFun eq alist@ is a function which looks up
Expand Down

0 comments on commit 2a18077

Please sign in to comment.