Skip to content

Commit e1c4ea4

Browse files
committed
small corrections
1 parent f051805 commit e1c4ea4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Instruments_test.sml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
structure Instruments_Test = struct
1+
structure Instruments_test = struct
22
open Currency Contract Instruments
33
fun pr s c = print (s ^ ":\n " ^ ppContr c ^ "\n")
44

loadscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(* load required modules *)
33
app load ["Math", "Date", "Bool", "ListPair", "IntInf", "CharVector"];
44

5-
app use ["DateUtil.sml", "ListSort.sig", "ListSort.sml", "CURRENCY.sig", "Currency.sml", "ContractBase.sml", "CONTRACT.sig", "Contract.sml", "Instruments.sml", "ContractTransform.sml", "ContractMonad.sml"];
5+
app use ["DateUtil.sml", "ListSort.sig", "ListSort.sml", "CURRENCY.sig", "Currency.sml", "ContractBase.sml", "CONTRACT.sig", "Contract.sig", "Contract.sml", "Instruments.sml", "ContractTransform.sml", "ContractMonad.sml"];
66

77
(* bring contract "constructors" in direct scope *)
88
open Currency Contract Instruments;

portfolio.sml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ val forwards =
4141
]
4242

4343
(* everything together (using "all" constructor) is the portfolio *)
44-
val fxPortfolio = all (singleBarriers @ doubleBarriers @
45-
touchOptions @ vanillas @ forwards)
44+
val fxPortfolio = Contract.all (singleBarriers @ doubleBarriers @
45+
touchOptions @ vanillas @ forwards)
4646

4747
end
4848

0 commit comments

Comments
 (0)