File tree Expand file tree Collapse file tree 3 files changed +0
-29
lines changed
factorial/Plinth_1.52.0.0_Unisay/source
Plinth_1.49.0.0_Unisay/source
Plinth_1.52.0.0_Unisay/source Expand file tree Collapse file tree 3 files changed +0
-29
lines changed Original file line number Diff line number Diff line change 11# Source Code
22
3- The source code for this factorial implementation is located in the main repository:
4-
53** [ 📁 plinth/src/Factorial.hs] ( ../../../../plinth/src/Factorial.hs ) **
6-
7- This Haskell module contains:
8-
9- - ` factorial :: Integer -> Integer ` - The factorial function implementation
10- - ` factorial10Code :: CompiledCode Integer ` - The compiled UPLC program for factorial(10)
11-
12- The implementation uses recursive approach: ` factorial(n) = if n <= 0 then 1 else n * factorial(n-1) `
Original file line number Diff line number Diff line change 11# Source Code
22
3- The source code for this fibonacci implementation is located in the main repository:
4-
53** [ 📁 plinth/src/Fibonacci.hs] ( ../../../../plinth/src/Fibonacci.hs ) **
6-
7- This Haskell module contains:
8-
9- - ` fibonacci :: Integer -> Integer ` - The fibonacci function implementation
10- - ` fibonacci25Code :: CompiledCode Integer ` - The compiled UPLC program for fibonacci(25)
11-
12- The implementation uses recursive approach: ` fibonacci(n) = if n <= 1 then n else fibonacci(n-1) + fibonacci(n-2) `
13-
14- ** Note** : This submission was created with Plinth 1.49.0.0, while the current source uses 1.52.0.0. The core algorithm remains the same.
Original file line number Diff line number Diff line change 11# Source Code
22
3- The source code for this fibonacci implementation is located in the main repository:
4-
53** [ 📁 plinth/src/Fibonacci.hs] ( ../../../../plinth/src/Fibonacci.hs ) **
6-
7- This Haskell module contains:
8-
9- - ` fibonacci :: Integer -> Integer ` - The fibonacci function implementation
10- - ` fibonacci25Code :: CompiledCode Integer ` - The compiled UPLC program for fibonacci(25)
11-
12- The implementation uses recursive approach: ` fibonacci(n) = if n <= 1 then n else fibonacci(n-1) + fibonacci(n-2) `
You can’t perform that action at this time.
0 commit comments