Hi Tomjaguarpaw,
this is what i get in the Terminal.
D:\TestHaskell\Homework101>stack build --fast
Homework101-0.1.0.0: unregistering (local file changes: src\Lib.hs)
Homework101> configure (lib + exe)
Configuring Homework101-0.1.0.0âŚ
Homework101> build (lib + exe)
Preprocessing library for Homework101-0.1.0.0âŚ
Building library for Homework101-0.1.0.0âŚ
[1 of 2] Compiling Paths_Homework101 [Optimisation flags changed]
[2 of 2] Compiling Lib
src\Lib.hs:8:1: warning: [-Wunused-top-binds]
Defined but not used: `tripleâ
|
8 | triple x = x * 3
| ^^^^^^
Preprocessing executable âHomework101-exeâ for Homework101-0.1.0.0âŚ
Building executable âHomework101-exeâ for Homework101-0.1.0.0âŚ
[1 of 2] Compiling Main [Optimisation flags changed]
[2 of 2] Compiling Paths_Homework101 [Optimisation flags changed]
Linking .stack-work\dist\d53b6a14\build\Homework101-exe\Homework101-exe.exe âŚ
Homework101> copy/register
Installing library in D:\TestHaskell\Homework101.stack-work\install\fc9eea00\lib\x86_64-windows-ghc-9.0.2\Homework101-0.1.0.0-LIyOgfgoz6bIJVvKkSOcAK
Installing executable Homework101-exe in D:\TestHaskell\Homework101.stack-work\install\fc9eea00\bin
Registering library for Homework101-0.1.0.0âŚ
D:\TestHaskell\Homework101>triple 4
Der Befehl âtripleâ ist entweder falsch geschrieben oder
konnte nicht gefunden werden. this says triple is written incorrectly or couldnât be found.
I added everything that was in the Terminal maybe it can help you see what is not functioning correctly.