From 80893fa3e272d9792ba1206f7006e8defeeccb6e Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Sun, 8 Nov 2026 05:51:49 +0300 Subject: publish --- README.org | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.org (limited to 'README.org') diff --git a/README.org b/README.org new file mode 100644 index 0000000..2ed91a1 --- /dev/null +++ b/README.org @@ -0,0 +1,33 @@ +#+title: Introduction to Haskell +#+date: 2024H2 + +* Task +:PROPERTIES: +:CUSTOM_ID: task +:END: +During the completion of practical assignment No. 2, it is necessary +to implement two programs in the Haskell language: +- Calculate all pairs of coordinates /(x, y)/ for the given fractal to a + depth of /n/ steps and output them as a list of lists of pairs, where + each level of recursion is a list of pairs. Fractal variant: *Peano + curve*. +- Implement the given game and strategy as follows: in the code, + define a list containing the user’s moves; implement a function, the + defining function of strategies and the function that organizes the + game (the game it should last no more than 100 moves). A variant of + the game: *Nim* (one pile of M stones, the player can not take more + than K stones). +For each part of the task, you need to write a =.hs= a file containing +all the necessary Haskell code. + +* Documentation +:PROPERTIES: +:CUSTOM_ID: documentation +:END: +The exported report can be found at [[https://git.michalec.dev/files/uni/term-05/func-prog/lab-02/report.pdf][this link]]. + +* Unlicense +:PROPERTIES: +:CUSTOM_ID: unlicense +:END: +#+include: UNLICENSE verse -- cgit v1.3.1