Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #609. Fix doc for move to _draw #610

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

gitonthescene
Copy link

See note in attached issue. I'm assuming pull requests go to master. If you'd like me to put it on another branch, please let me know.

@gitonthescene
Copy link
Author

I'm not sure how you want a demonstration of the fix to be manifested. Please let me know if this does not suffice.

➜  kona git:(master) ✗ ./k                                                                
kona      \ for help. \\ to exit.

  \+
Verbs +-*%|&^!<>=~@?_,#$.:
Verbs work on all sensible types (ints, floats, strings, symbols, lists)
Dyadic or monadic is determined from context, default is dyadic
Add : after a verb to force the monadic form, + is plus, +: is flip
...
@ tetradic dyadic amend. see \.
? dyadic   find. x?y yields index of y in list x (or #x)
? dyadic   invert. {x^2} ? 2 yields sqrt(2) 
? triadic  invert-guess. secant method with clues ?[{2^x};17;4]
_ monadic  floor. tolerant floor function 
...
  \_
Constants:
...
Dyadic Verbs:
...
_dot     dot product
_draw    draw x random numbers from 0 to y-1, negative y indicates without replacement
_dv      delete value
...

@tavmem tavmem merged commit ff7e51e into kevinlawler:master Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants