This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | |
Foo[T] = concept x | |
var t = T() | |
x.foo(t) | |
x.bar(t) is T | |
FooImpl[T] = object | |
proc foo[T](f: FooImpl[T], t: T) = discard | |
proc bar[T](f: FooImpl[T], t: T): T = t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | |
Foo[T] = concept x | |
x.foo(T) | |
proc foobar[T](f: Foo[T]) = | |
f.foo(42) | |
type | |
FooImpl[T, U] = object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install a fully encrypted ArchLinux on NVMe with detached LUKS | |
# headers and LUKS encrypted UEFI boot partition on a USB dongle. | |
# | |
# Full tutorial can be found here: | |
# https://headcrash.industries/reference/fully-encrypted-archlinux-with-secure-boot-on-yoga-920/ | |
# | |
# Written by Gerke Max Preussner <info@headcrash.industries> | |
# Overview ############################################################ |
OlderNewer