Difference between revisions of "Translations:FP Laboratory 2/2/cs"

From Marek Běhálek Wiki
Jump to navigation Jump to search
(Created page with "*V interpretu GHCi lze použít příkaz <code>:info</code> k zjištění typu funkce nebo operátoru, zjistěte typ následujících elementů: <code>+, sqrt, succ, max</code...")
 
(No difference)

Latest revision as of 08:27, 10 October 2019

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (FP Laboratory 2)
*Using the GHCi command <code>:info</code>, learn the type of the following functions (and operators): <code>+, sqrt, succ, max</code>
*Get the information about the data type of following expressions and evaluate them. it is possible using the command <code>:type</code>. You can switch this option on for all commands by <code>:set +t</code> (removing by <code>:unset +t</code>).
Translation*V interpretu GHCi lze použít příkaz <code>:info</code> k zjištění typu funkce nebo operátoru, zjistěte typ následujících elementů: <code>+, sqrt, succ, max</code>
*Zjistěte informace o typech následujících výrazů a vyhodnoťte je. K tomuto slouží příkaz <code>:type</code>. Je možné zapnout, aby interpret standardně vypsal typ výrazu. Toto jde příkazem <code>:set +t</code> (tuto funkci lze vypnout <code>:unset +t</code>).
  • V interpretu GHCi lze použít příkaz :info k zjištění typu funkce nebo operátoru, zjistěte typ následujících elementů: +, sqrt, succ, max
  • Zjistěte informace o typech následujících výrazů a vyhodnoťte je. K tomuto slouží příkaz :type. Je možné zapnout, aby interpret standardně vypsal typ výrazu. Toto jde příkazem :set +t (tuto funkci lze vypnout :unset +t).