/// Adds 2 numbers
let rec add x y =
x + y
-- https://github.com/purescript/documentation/blob/master/language/Syntax.md
-- | `bool` performs case analysis for the `Boolean` data type, like an `if` statement.
bool :: forall a. Boolean -> a -> a -> a
bool true x _ = x
bool false _ x = x
/**
* @param [in] foo "The foo value"
* @return "the toal foo count"
**/
// Documentation comment for a_function
fn a_function() {}
function Find (|string| pattern, |int| pos=0, |int|)
description "Returns the position of pattern in self, starting from 'pos'. If not found, we return -1."
Languages with Doc comments include F#, PureScript, C3, Jule, Speedie
View all concepts with or missing a hasDocComments measurement