6 kyu

One Line Task: Fix

Description:

fix is a nice little function:

fix :: (a -> a) -> a
fix f = let x = f x in x

But let's make it nicer!

Code length:

27 characters or less (module line included)

Recursion
Functional Programming
Restricted
Fundamentals

More By Author:

Check out these other kata created by haspience

Stats:

CreatedNov 23, 2019
PublishedNov 23, 2019
Warriors Trained215
Total Skips9
Total Code Submissions695
Total Times Completed45
Haskell Completions45
Total Stars6
% of votes with a positive feedback rating87% of 26
Total "Very Satisfied" Votes21
Total "Somewhat Satisfied" Votes3
Total "Not Satisfied" Votes2
Total Rank Assessments12
Average Assessed Rank
5 kyu
Highest Assessed Rank
2 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • haspience Avatar
  • kazk Avatar
  • flaco Avatar
Ad