Fix haddock parse errors

This commit is contained in:
Brian Huffman 2017-03-09 10:58:55 -08:00
parent fd4415803a
commit f8290af910
2 changed files with 9 additions and 11 deletions

View File

@ -1,5 +1,6 @@
-- |
-- Module : $Header$
-- Description : The reference implementation of the Cryptol evaluation semantics.
-- Copyright : (c) 2013-2016 Galois, Inc.
-- License : BSD3
-- Maintainer : cryptol@galois.com
@ -8,8 +9,6 @@
{-# LANGUAGE PatternGuards #-}
-- | The reference implementation of the Cryptol evaluation semantics.
module Cryptol.Eval.Reference where
import Control.Applicative (liftA2)

View File

@ -109,11 +109,11 @@ quickSolverIO ctxt gs =
, d
])) -- -}
quickSolver :: Ctxt -> {- ^ Facts we can know -}
[Goal] -> {- ^ Need to solve these -}
Either Goal (Subst,[Goal])
-- ^ Left: contradiciting goals,
-- Right: inferred types, unsolved goals.
quickSolver :: Ctxt -- ^ Facts we can know
-> [Goal] -- ^ Need to solve these
-> Either Goal (Subst,[Goal])
-- ^ Left: contradicting goals,
-- Right: inferred types, unsolved goals.
quickSolver ctxt gs0 = go emptySubst [] gs0
where
go su [] [] = Right (su,[])
@ -364,10 +364,9 @@ computeImprovements s gs =
, (x,t) : _ <- mapMaybe (improveByDefn ints) gs ->
do let su' = singleSubst x t
debugLog s ("Improve by definition: " ++ show (pp su'))
return (Right su') -}
-- | otherwise -> return (Right su)
return (Right su')
| otherwise -> return (Right su)
-}
Nothing ->
do bad <- Num.minimizeContradictionSimpDef s
(map Num.knownDefined nums)