Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // hello.go — uses closures.
- package main
- import (
- "fmt"
- )
- func ł(ß string) func() string {
- return func() string {
- return ß
- }
- }
- func main() {
- fæk := ł("LOL your face.")
- fmt.Println(fæk())
- }
Add Comment
Please, Sign In to add comment