Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
gast
Commits
05e78062
Verified
Commit
05e78062
authored
Mar 19, 2018
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also add check calls to namePath
parent
1131ac40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Libraries/Gast/StdProperty.icl
Libraries/Gast/StdProperty.icl
+3
-2
No files found.
Libraries/Gast/StdProperty.icl
View file @
05e78062
...
...
@@ -158,9 +158,10 @@ ForEach list f = Prop ("ForEach " +++ thunk_name_to_string list +++ " " +++ thun
(
For
)
p
list
=
ForEach
list
p
check
::
!(
a
b
->
Bool
)
!
a
!
b
->
Property
|
genShow
{|*|},
JSONEncode
{|*|}
a
&
genShow
{|*|},
JSONEncode
{|*|}
b
check
op
x
y
=
Prop
(
"check "
+++
thunk_name_to_string
op
)
(
affirm
op
(
Other
relName
)
x
y
)
check
op
x
y
=
Prop
name
(\
gs
a
->
affirm
op
(
Other
relName
)
x
y
gs
{
a
&
namePath
=[
name
:
a
.
namePath
]}
)
where
relName
=
concat
[
thunk_name_to_string
op
,
"{"
,
thunk_to_module_name_string
op
,
"}"
]
name
=
thunk_name_to_string
op
relName
=
concat
[
name
,
"{"
,
thunk_to_module_name_string
op
,
"}"
]
(=.=)
infix
4
::
!
a
!
a
->
Property
|
Eq
,
genShow
{|*|},
JSONEncode
{|*|}
a
(=.=)
x
y
=
Prop
"=.="
(
affirm
(==)
Eq
x
y
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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