/t/ - Technology

Discussion of Technology

Index Catalog Archive Bottom Refresh
+
-
Options
Subject
Message

Max message length: 12000

Files

Max file size: 32.00 MB

Total max file size: 50.00 MB

Max files: 5

Supported file types: GIF, JPG, PNG, WebM, OGG, and more

CAPTCHA
E-mail
Password

(used to delete files and posts)

Misc

Remember to follow the Rules

8chan.moe | 8chan.st | 8chan.cc | Onion | Redchannit
Test123

8chan.moe is a hobby project with no affiliation whatsoever to the administration of any other "8chan" site, past or present.

You may also be interested in: AI

(1.39 MB 1098x980 afsdafdfad.png)

retarded haskell Anonymous 02/12/2023 (Sun) 21:01:30 No. 11555
tried to search this up but all the retards keep on going about on some other shit, heres my code and the fucking retarded error that explains nothing doubleMe x = x + x doubleUs x y = doubleMe x + doubleMe y doubleSmallNumber x { if x < 100 then doubleMe x else x*2 } baby.hs:6:9: error: parse error on input ‘if’ | 6 | if x < 100 | ^^ dont care about why, just want to how the fuck do i get rid of this, though im probably the retard here
replace { with = dedent the else remove } doubleSmallNumber x = if x < 100 then doubleMe x else x*2
go to the help thread for this next time >>3
aight thanks


Forms
Delete
Report
Quick Reply