Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-sapl
Commits
f2e6451a
Commit
f2e6451a
authored
Jan 23, 2017
by
Bas Lijnse
Browse files
Fixed typo in Clean flavour
parent
a944c249
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Sapl/Target/CleanFlavour.icl
View file @
f2e6451a
...
...
@@ -14,7 +14,7 @@ cleanFlavour = fromFlavourRep {
{
sapl_fun
=
"multR"
,
arity
=
2
,
data_cons
=
Nothing
,
ext_fun
=
Just
"_mult"
,
inline_exp
=
Just
":!1: * :!2:"
},
{
sapl_fun
=
"divI"
,
arity
=
2
,
data_cons
=
Nothing
,
ext_fun
=
Just
"_div"
,
inline_exp
=
Just
"Math.floor(:!1: / :!2:)"
},
{
sapl_fun
=
"divR"
,
arity
=
2
,
data_cons
=
Nothing
,
ext_fun
=
Just
"_divreal"
,
inline_exp
=
Just
":!1: / :!2:"
},
{
sapl_fun
=
"mod"
,
arity
=
2
,
data_cons
=
Nothing
,
ext_fun
=
Just
"_mod"
,
inline_exp
=
Just
"
=
!1
=
%
=
!2
=
"
},
{
sapl_fun
=
"mod"
,
arity
=
2
,
data_cons
=
Nothing
,
ext_fun
=
Just
"_mod"
,
inline_exp
=
Just
"
:
!1
:
%
:
!2
:
"
},
{
sapl_fun
=
"powI"
,
arity
=
2
,
data_cons
=
Nothing
,
ext_fun
=
Just
"_pow"
,
inline_exp
=
Just
"Math.pow(:!1:,:!2:)"
},
{
sapl_fun
=
"powR"
,
arity
=
2
,
data_cons
=
Nothing
,
ext_fun
=
Just
"_pow"
,
inline_exp
=
Just
"Math.pow(:!1:,:!2:)"
},
{
sapl_fun
=
"sqrt"
,
arity
=
1
,
data_cons
=
Nothing
,
ext_fun
=
Just
"_sqrt"
,
inline_exp
=
Just
"Math.sqrt(:!1:)"
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment