l*n
2 楼
aspect实际上是monad
y*o
3 楼
1. Highly Selective Olefin Trimerization Catalysis by a Borane-Activated
Titanium Trimethyl Complex
Organometallics, 2013, 32 (23), pp 6899–6902
DOI: 10.1021/om401098m
http://pubs.acs.org/doi/pdf/10.1021/om401098m
2. Hafnium Amidoquinoline Complexes: Highly Active Olefin Polymerization
Catalysts with Ultrahigh Molecular Weight Capacity
Organometallics, 2012, 31 (17), pp 6244–6251
DOI: 10.1021/om3005417
http://pubs.acs.org/doi/pdf/10.1021/om3005417
3. Trimerization of Ethylene to 1-Hexene with Titanium Complexes Bearing
Phenoxy−Imine Ligands with Pendant Donors Combined with MAO
Organometallics, 2010, 29 (11), pp 2394–2396
DOI: 10.1021/om1003368
http://pubs.acs.org/doi/pdf/10.1021/om1003368
多谢了!
Titanium Trimethyl Complex
Organometallics, 2013, 32 (23), pp 6899–6902
DOI: 10.1021/om401098m
http://pubs.acs.org/doi/pdf/10.1021/om401098m
2. Hafnium Amidoquinoline Complexes: Highly Active Olefin Polymerization
Catalysts with Ultrahigh Molecular Weight Capacity
Organometallics, 2012, 31 (17), pp 6244–6251
DOI: 10.1021/om3005417
http://pubs.acs.org/doi/pdf/10.1021/om3005417
3. Trimerization of Ethylene to 1-Hexene with Titanium Complexes Bearing
Phenoxy−Imine Ligands with Pendant Donors Combined with MAO
Organometallics, 2010, 29 (11), pp 2394–2396
DOI: 10.1021/om1003368
http://pubs.acs.org/doi/pdf/10.1021/om1003368
多谢了!
a*8
4 楼
要。全部搞定 10分钟的事
z*e
5 楼
反了
monad是aop的一种
aspect是一个抽象的概念
monad是design pattern,不仅包括了aspect
还定义了怎么操作
monad是aop的一种
aspect是一个抽象的概念
monad是design pattern,不仅包括了aspect
还定义了怎么操作
z*e
8 楼
我觉得这样理解不好
还是分开来,aop理解aop
monad理解monad
monad通过flatmap那些理解比较容易
coltzhao解释得很清楚,aop过来理解反而乱
aop难点是aspect,其他都简单
还是分开来,aop理解aop
monad理解monad
monad通过flatmap那些理解比较容易
coltzhao解释得很清楚,aop过来理解反而乱
aop难点是aspect,其他都简单
y*o
9 楼
多谢了!新年快乐。
a*8
10 楼
本版下一页有详解。注意不要手欠升级就好了。我的也是今天刚到。搞完了已经在看了
。
。
z*e
11 楼
monad是一种特殊的apect
aspect不管你怎么处理
但是monad定义了bind&return
你如果不满足这两个条件,就不是monad
但是完全可以是aspect
aspect的scope甚至超过了functor
比functor更加的general,functor毕竟定义了bind
而aspect只要你能找到pointcut,能作出相应的操作
就是aspect,未必是bind
从自由度来说,aop更加容易,因为限制少
比functor还自由,tradeoff就是你需要用它的编译器
所以scala等jvm上非java语言就不能用了
aspect不管你怎么处理
但是monad定义了bind&return
你如果不满足这两个条件,就不是monad
但是完全可以是aspect
aspect的scope甚至超过了functor
比functor更加的general,functor毕竟定义了bind
而aspect只要你能找到pointcut,能作出相应的操作
就是aspect,未必是bind
从自由度来说,aop更加容易,因为限制少
比functor还自由,tradeoff就是你需要用它的编译器
所以scala等jvm上非java语言就不能用了
x*a
12 楼
多谢多谢
l*t
13 楼
aspect没有任何contract
l*n
15 楼
Here is an aop example in angularjs:
(function() {
var geoDecorator = function($delegate) {
var locate = function() {
var start = new Date();
var result = $delegate.locate();
result.always(function () {
console.log("Geo location took: " + (new Date() - start) + "
ms");
});
return result;
};
return {
locate: locate
};
};
var testApp = angular.module("testApp");
testApp.config(["$provide", function ($provide) {
$provide.decorator("geo", geoDecorator);
}]);
}());
(function() {
var geoDecorator = function($delegate) {
var locate = function() {
var start = new Date();
var result = $delegate.locate();
result.always(function () {
console.log("Geo location took: " + (new Date() - start) + "
ms");
});
return result;
};
return {
locate: locate
};
};
var testApp = angular.module("testApp");
testApp.config(["$provide", function ($provide) {
$provide.decorator("geo", geoDecorator);
}]);
}());
x*a
16 楼
那个usb口分明是个mini hdmi啊
z*e
17 楼
写成这样多恶心
你看aspectj里面
public aspect PeopleAspect {
pointcut setXXX():
call(public void People.set*(*));
before():setXXX(){
System.out.println(">>> Log : modify people's attribute ...");
}
}
哪个是aspect,pointcut在哪里,before还是after都非常直观
你这里能直接看出pointcut在哪里吗?如果不认真parse代码的话
"
【在 l**********n 的大作中提到】
: Here is an aop example in angularjs:
: (function() {
:
: var geoDecorator = function($delegate) {
: var locate = function() {
: var start = new Date();
: var result = $delegate.locate();
: result.always(function () {
: console.log("Geo location took: " + (new Date() - start) + "
: ms");
你看aspectj里面
public aspect PeopleAspect {
pointcut setXXX():
call(public void People.set*(*));
before():setXXX(){
System.out.println(">>> Log : modify people's attribute ...");
}
}
哪个是aspect,pointcut在哪里,before还是after都非常直观
你这里能直接看出pointcut在哪里吗?如果不认真parse代码的话
"
【在 l**********n 的大作中提到】
: Here is an aop example in angularjs:
: (function() {
:
: var geoDecorator = function($delegate) {
: var locate = function() {
: var start = new Date();
: var result = $delegate.locate();
: result.always(function () {
: console.log("Geo location took: " + (new Date() - start) + "
: ms");
相关阅读
ACS regional meeting abstract可以跟以前参加过的ACS meeting的一样吗?已经发过paper的东西,可以再提交acs meeting的abstract吗?Paper help! Thanks!Paper helpPaper help! Thanks!Dow Chemical Co招中国人吗有没有xylene-resistant adhesive?-========求 白边 文章一片==========paper help【国内】500强前三美资石油巨头招聘Research Scientist天津大学化工学院2013年AIChE年会招待会暨人才洽谈会邀请函湾区临时工作机会 (有机化学)这样的paper才能回top2当千青chem phd最好出路就是去CHE当faculty二篇文献求助求电子书“"top drugs: top synthetic routes"非老板但是是院士的推荐信申faculty有用没?博后申请多久没回音就move on?Novartis (Cambridge, MA) vs GSK (PA) 非要放弃一个onsite,选 (转载)Nobel Prize in Chemistry 2013 to Theoretical Comp Chemists