I know that indent is important in Haskell. How can i indent this program?
qsort [] =[]
qsort (x:xs) = let bigsorted = [a| a<-xs,a>=x]
smallsorted= [a| a<-xs,a<x]
in qsort bigsorted ++ [x] ++ smallsorted
I am using the vim editor. Is there any way in which the program can be automatically indented?
Here smallsorted is not a part of the let block.