Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e1d8b7

Browse files
Merge pull request#2589 from ucsd-progsys/fd/remove-pgrad2
Update LF after second round of PGrad removal
2 parents1fe3372 +755b72c commit9e1d8b7

File tree

14 files changed

+2
-222
lines changed

14 files changed

+2
-222
lines changed

‎liquidhaskell-boot/src/Language/Haskell/Liquid/Constraint/Generate.hs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ import Language.Haskell.Liquid.Transforms.CoreToLogic (weakenResult, r
6969
importLanguage.Haskell.Liquid.Bare.DataType (dataConMap,makeDataConChecker)
7070
importLanguage.Haskell.Liquid.UX.Config
7171
(HasConfig(getConfig),
72-
Config(typeclass,gradual,checkDerived,extensionality,
72+
Config(typeclass,checkDerived,extensionality,
7373
nopolyinfer,noADT,dependantCase,exactDC,rankNTypes),
7474
patternFlag,
7575
higherOrderFlag )
@@ -88,7 +88,6 @@ consAct :: CGEnv -> Config -> TargetInfo -> CG ()
8888
consAct γ cfg info=do
8989
let sSpc= gsSig. giSpec$ info
9090
let gSrc= giSrc info
91-
when (gradual cfg) (mapM_ (addW.WfC γ. val.snd) (gsTySigs sSpc++ gsAsmSigs sSpc))
9291
γ'<- foldM (consCBTop cfg info) γ (giCbs gSrc)
9392
-- Relational Checking: the following only runs when the list of relational specs is not empty
9493
(ψ, γ'')<- foldM (consAssmRel cfg info) ([], γ') (gsAsmRel sSpc++ gsRelation sSpc)

‎liquidhaskell-boot/src/Language/Haskell/Liquid/Constraint/ToFixpoint.hs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ fixConfig tgt cfg = def
5454
,FC.allowHOqs= higherorderqs cfg
5555
,FC.smtTimeout= smtTimeout cfg
5656
,FC.stringTheory= stringTheory cfg
57-
,FC.gradual= gradual cfg
58-
,FC.ginteractive= ginteractive cfg
5957
,FC.noslice= noslice cfg
6058
,FC.rewriteAxioms= allowPLE cfg
6159
,FC.pleUndecGuards= pleWithUndecidedGuards cfg

‎liquidhaskell-boot/src/Language/Haskell/Liquid/UX/CmdLine.hs‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -165,23 +165,10 @@ defConfig = Config {
165165
= def&= name"no-structural-termination"
166166
&= help"Disable structural termination check"
167167

168-
, gradual
169-
=False&= help"Enable gradual refinement type checking"
170-
&= name"gradual"
171-
172168
, bscope
173169
=False&= help"scope of the outer binders on the inner refinements"
174170
&= name"bscope"
175171

176-
, gdepth
177-
=1
178-
&= help"Size of gradual conretizations, 1 by default"
179-
&= name"gradual-depth"
180-
181-
, ginteractive
182-
=False&= help"Interactive Gradual Solving"
183-
&= name"ginteractive"
184-
185172
, totalHaskell
186173
=False&= help"Check for termination and totality; overrides no-termination flags"
187174
&= name"total-Haskell"

‎liquidhaskell-boot/src/Language/Haskell/Liquid/UX/Config.hs‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ data Config = Config
5656
,noclasscheck::Bool--^ disable checking class instances
5757
-- , structuralTerm :: Bool -- ^ use structural termination checker
5858
,nostructuralterm::Bool--^ disable structural termination check
59-
,gradual::Bool--^ enable gradual type checking
6059
,bscope::Bool--^ scope of the outer binders on the inner refinements
61-
,gdepth::Int--^ depth of gradual concretization
62-
,ginteractive::Bool--^ interactive gradual solving
6360
,totalHaskell::Bool--^ Check for termination and totality, Overrides no-termination flags
6461
,nowarnings::Bool--^ disable warnings output (only show errors)
6562
,noannotations::Bool--^ disable creation of intermediate annotation files

‎tests/gradual/neg/Gradual.hs‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎tests/gradual/neg/Interpretations.hs‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎tests/gradual/neg/Intro.hs‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎tests/gradual/pos/Discussion.hs‎

Lines changed: 0 additions & 35 deletions
This file was deleted.

‎tests/gradual/pos/Dynamic.hs‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp