or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
polymorphization
change
tcx.unused_generic_parameters
to be as permissive as possible,pretty much only rejecting stuff needed for
Layout
(for now) andtype_id
. Rename it toused_generic_parameters
probably.Then, this should only require changes to mono item collection.
Pseudocode, figure out how this has to work:
Difficulties
We have to somehow remember
substs
for each mono item. Probablychange
Neighbors
to eitherMonoItem
without eagerly substituting (seems difficult, as we need to resolve instances).(generic_substs, mono_item)
pairs wheregeneric_substs
can start out as an option with us failing polymorphization if it isNone
for at least one neighbour.Where is polymorphization used
FunctionCx
?- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Instance::polymorphize
. Maybe return the polymorphization results from a query?DefIdSet
incollect_and_partition_mono_items
. Polymorphize would then "simply fetch" the polymorphized instance which applies to the concrete instance