Yeah sorry - that’s just unnecessarily obtuse. Programming languages just don’t need to be that convoluted. Hello world should look something like this:
print("Hello, World!")
And when you need more complexity, it can still be far simpler than Unison (or Haskel). For example this (in Swift):
Yeah sorry - that’s just unnecessarily obtuse. Programming languages just don’t need to be that convoluted. Hello world should look something like this:
print("Hello, World!")
And when you need more complexity, it can still be far simpler than Unison (or Haskel). For example this (in Swift):
func processNumbers(_ numbers: [Int]) -> [Int] { return numbers.filter { $0 % 2 == 0 }.map { $0 * $0 } } let numbers = [1, 2, 3, 4, 5, 6] let processedNumbers = processNumbers(numbers) print(processedNumbers)