const package:xmonad-contrib
const x y always evaluates to
x, ignoring its second
argument.
const x = \_ -> x
This function might seem useless at first glance, but it can be very
useful in a higher order context.
Examples
>>> const 42 "hello"
42
>>> map (const 42) [0..3]
[42,42,42,42]
Lets you constrain the aspect ratio of a floating window (by, say,
holding shift while you resize).
Useful for making a nice circular XClock window.
Log the given string, as is.