Skip to content

Commit fb53f0a

Browse files
authored
Merge pull request #4240 from mtzguido/cleanups
Small cleanups
2 parents 3410f29 + 8e26650 commit fb53f0a

21 files changed

Lines changed: 148 additions & 56 deletions

examples/layeredeffects/SimpleHeap.fst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*)
44
module SimpleHeap
55

6-
module S = FStar.Set
76
module F = FStar.FunctionalExtensionality
87

98
(** Internal cell type: stores a typed value *)

examples/layeredeffects/SimpleHeap.fsti

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
module SimpleHeap
88

99
module S = FStar.Set
10-
module F = FStar.FunctionalExtensionality
1110

1211
(** The heap type *)
1312
val heap : Type u#1

pulse/share/pulse/examples/EqualOrDisjoint.fst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module EqualOrDisjoint
22
#lang-pulse
33
open Pulse.Lib.Pervasives
4-
module R = Pulse.Lib.Reference
5-
module TR = Pulse.Lib.Trade
64
open Pulse.Lib.Trade
75
open Pulse.Lib.Forall.Util
86

pulse/share/pulse/examples/Quicksort.Base.fst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ module Quicksort.Base
1919

2020
open Pulse.Lib.Pervasives
2121
module A = Pulse.Lib.Array
22-
module R = Pulse.Lib.Reference
2322
module SZ = FStar.SizeT
2423
(* Base module with proof of correctness of Quicksort, partition, etc.
2524
#lang-pulse

pulse/share/pulse/examples/by-example/PulseByExample.fst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ fn five_alt ()
4949

5050
open Pulse.Lib.Reference
5151
open Pulse.Class.PtsTo
52-
module R = Pulse.Lib.Reference
5352

5453
(*
5554
Things to note:
@@ -114,7 +113,6 @@ fn test (r:ref int)
114113
}
115114

116115
open Pulse.Lib.Array
117-
module A = Pulse.Lib.Array
118116
module SZ = FStar.SizeT
119117
open Pulse.Lib.BoundedIntegers
120118

pulse/share/pulse/examples/by-example/PulseTutorial.AtomicsAndInvariants.fst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
module PulseTutorial.AtomicsAndInvariants
1818
#lang-pulse
1919
open Pulse.Lib.Pervasives
20-
module T = FStar.Tactics
2120
module U32 = FStar.UInt32
2221

2322
//owns$

pulse/share/pulse/examples/parallel/Example.SimpleDBModel.fst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module Example.SimpleDBModel
33
open Pulse.Lib.Pervasives
44
open Pulse.Lib.GhostPCMReference
55
open FStar.Preorder
6-
module GR = Pulse.Lib.GhostPCMReference
76
module MR = Pulse.Lib.MonotonicGhostRef
87
let as_prop (p:prop) = p <==> True
98
// A tiny db

pulse/src/checker/Pulse.Checker.Match.fst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module T = FStar.Tactics.V2
2828
module L = FStar.List.Tot.Base
2929
module R = FStar.Reflection.V2
3030
module RT = FStar.Reflection.Typing
31-
module RU = Pulse.RuntimeUtils
3231

3332
let br_typing_vis (g:env) (_:universe) (_:typ) (_:term) (_:pattern) (_:st_term) (_:comp_st) : Type = unit
3433

src/fstar/FStarC.Main.fst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ open FStarC.Ident
2323
open FStarC.CheckedFiles
2424
open FStarC.Universal
2525
open FStarC.Util
26+
open FStarC.Syntax.Print
2627

2728
open FStarC.Hooks (* KEEP: we need this module for its top-level effect. *)
2829

src/fstar/FStarC.Main.fsti

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
(*
2+
Copyright 2008-2016 Nikhil Swamy and Microsoft Research
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*)
16+
module FStarC.Main
17+
18+
open FStarC.Effect
19+
20+
val main : unit -> ML unit

0 commit comments

Comments
 (0)