Skip to content

Commit

Permalink
More flexible valence checking on AuthenticateFn
Browse files Browse the repository at this point in the history
  • Loading branch information
bpbecker committed Jul 10, 2023
1 parent e55eadf commit c318a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Jarvis.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@

Authenticate{0} dummy authentication function
:If ~0AuthenticateFn authentication function specified?
:If 1 1 0CodeLocation.⎕AT AuthenticateFn result-returning monadic?
:If /(CodeLocation.⎕AT AuthenticateFn)¨1(1 ¯2)0 result-returning monadic or ambivalent?
AuthenticateCodeLocationAuthenticateFn
:Else
0(rc msg)8('"',(CodeLocation),'.',AuthenticateFn,'" is not a monadic result-returning function')
Expand Down

0 comments on commit c318a38

Please sign in to comment.