Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Written by Prashant Basnet
<section class="bg-white dark:bg-gray-900 px-4 py-8 max-w-2xl mx-auto text-gray-800 dark:text-gray-200">
<h1 class="text-2xl sm:text-3xl font-signature italic font-semibold text-center mb-4">
π Welcome β Youβve Landed on My Signature Page
</h1>
<p class="text-base sm:text-lg mb-4">
Hey, Iβm <strong class="text-black dark:text-white">Prashant Basnet</strong> β software developmemt engineer at
<a href="https://unisala.com" class="text-indigo-600 dark:text-indigo-400 underline hover:no-underline" target="_blank" rel="noopener noreferrer">
Unisala.com
</a>.
</p>
<p class="text-base sm:text-lg mb-6">
Youβre viewing my <strong>Signature</strong>, a digital space where I share what Iβm learning, building, and reflecting on, all in one place.
</p>
<div class="border-l-4 border-indigo-400 dark:border-indigo-500 pl-4 italic mb-6 text-sm sm:text-base text-gray-700 dark:text-gray-400">
π Found this page via LinkedIn, my personal site, or a shared link?
<br />
This isnβt a traditional portfolio. Itβs my public digital notebook where I document useful ideas, experiments, and lessons Iβve learned as I build.
</div>
<h2 class="text-lg font-semibold mb-2">What Youβll Find Here:</h2>
<ul class="list-disc list-inside space-y-1 text-sm sm:text-base">
<li>βοΈ Thoughts on algorithms, systems, and software design</li>
<li>π§ Insights from building at Unisala</li>
<li>π Direct links to everything Iβve published on Unisala</li>
</ul>
</section>
In type theory, sub typing denoted by (<:) is a relation that describes when one type can be used in place of another type. It's more like flexible version of type equality.
The notation we are seeing is about function types and record types:
For example:
A function type A -> B means a function that takes an input of type A and returns a type B.
So when we are seeing something like:
it's asking Can a function that takes Xy and returns X be considered a subtype of a function that takes a Y and return XY?
The rules for determining this involves:
1. Contra variance of input types (domains)