Jump to content
Rtrix

Problema Ocaml

Recommended Posts

Write an OCaml function with signature

is_bij : (bool -> bool) -> bool

which tests whether its argument is a bijective function, which means it returns true if the argument is bijective and false. A function is said to be bijective if

it produces a different output for every input

every possible output value can be produced using some input. otherwise.

Stie careva ocaml, si cu cateva explicatii? :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...